blob: 6b2ee56b3cd2d4119eba2c38e9bed84d269189df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# $Id$
pkgname=xscreensaver-xmatrix-color
pkgver=6.08
jwzspecialver=6.08 # Because the 6.05.1 zip unpacks to 6.05
pkgrel=1
pkgdesc="Screen saver and locker for the X Window System, modified xmatrix with variable color."
arch=('i686' 'x86_64')
url="http://www.jwz.org/xscreensaver/"
license=('BSD')
depends=('gtk3' 'libxmu' 'glu' 'xorg-appres' 'perl-libwww' 'gdk-pixbuf-xlib')
makedepends=('bc' 'intltool' 'libxpm')
optdepends=('gdm: for login manager support')
conflicts=('xscreensaver')
provides=('xscreensaver')
backup=('etc/pam.d/xscreensaver')
source=(http://www.jwz.org/xscreensaver/${pkgname%%-*}-${pkgver}.tar.gz
xscreensaver-add-electricsheep.diff
xmatrix-color.diff
LICENSE)
sha1sums=('a7e75a2ae1110354ffaa639f4c38ec0506cabf2b'
'e8dc57b6471fb3867ee099304ac6bf628351cb98'
'827e04ab5947fb438706df7ba7dedaabaa17c341'
'bf8995d86609cdab678ca277ae685407f82691db')
prepare() {
#cd ${pkgname%%-*}-${pkgver}
cd ${pkgname%%-*}-${jwzspecialver}
#patch -p0 -i "${srcdir}/xscreensaver-add-electricsheep.diff"
patch --verbose --fuzz 3 -b -p0 -i "${srcdir}/xmatrix-color.diff"
}
build() {
#cd ${pkgname%%-*}-${pkgver}
cd ${pkgname%%-*}-${jwzspecialver}
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib \
--with-pam --with-login-manager --with-gtk --with-gl \
--without-gle --with-pixbuf --with-jpeg
make
}
package() {
#cd ${pkgname%%-*}-${pkgver}
cd ${pkgname%%-*}-${jwzspecialver}
install -d "${pkgdir}/etc/pam.d"
make install_prefix="${pkgdir}" install
install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname%%-*}/LICENSE"
chmod 755 "${pkgdir}/usr/bin/xscreensaver"
#echo "NotShowIn=KDE;GNOME;" >> "${pkgdir}/usr/share/applications/xscreensaver-properties.desktop"
}
|