Commit | Line | Data |
---|---|---|
209feeb0 H |
1 | # Contributor: Thomas Mudrunka <harvie@@email..cz> |
2 | # Maintainer: Thomas Mudrunka <harvie@@email..cz> | |
3 | # You can also contact me on http://blog.harvie.cz/ | |
4 | ||
5 | # -Original Maintainer: Eric Belanger <eric@archlinux.org> | |
6 | # -Original Contributor: Sean Middleditch <elanthis@awesomeplay.com> | |
7 | ||
8 | pkgname=xscreensaver-arch-logo | |
9 | _original_pkgname=xscreensaver | |
191e7b8f | 10 | pkgver=5.12 |
209feeb0 H |
11 | pkgrel=1 |
12 | pkgdesc="Screen saver and locker for the X Window System. Version with replaced art/logos/graphics to better fit to the ArchLinux (Gnome,KDE,XFCE,...). Also adds enchanced desktop icon." | |
13 | arch=('i686' 'x86_64') | |
14 | url="http://www.jwz.org/xscreensaver/" | |
15 | license=('BSD') | |
191e7b8f | 16 | depends=('libxxf86vm' 'libglade' 'mesa' 'pam' 'xorg-res-utils') |
209feeb0 H |
17 | makedepends=('bc') |
18 | conflicts=('xscreensaver') | |
19 | provides=('xscreensaver') | |
20 | backup=('etc/pam.d/xscreensaver') | |
21 | source=(http://www.jwz.org/xscreensaver/${_original_pkgname}-${pkgver}.tar.gz \ | |
22 | add-electricsheep.diff xscreensaver.pam LICENSE | |
23 | logo-50.xpm logo-180.xpm logo-50.png logo-180.png) | |
191e7b8f | 24 | md5sums=('0345c1acb9280729de05c5ca44b401e3' |
209feeb0 H |
25 | 'f82524626ed8a6832cd279e0548a9b46' |
26 | '367a3538f54db71f108b34cfa31088ac' | |
27 | '5e7f3f2a63d20a484742f5b4cb5d572c' | |
28 | '3ab3668446f774f3539cf80a6538c188' | |
29 | '6c02caa437038fe275bbed7c94f1f982' | |
30 | '5c07dfa0c24edf141db09546bd11cc12' | |
31 | '04f820ef64a2b9580ad40fa389885133') | |
32 | ||
33 | build() { | |
34 | cd "${srcdir}/${_original_pkgname}-${pkgver}" | |
4ac3dd9f | 35 | patch -Np0 -i "${srcdir}/add-electricsheep.diff" |
209feeb0 H |
36 | |
37 | cd ${srcdir} | |
38 | cp -f logo-180.xpm ${_original_pkgname}-${pkgver}/utils/images/ | |
39 | ||
40 | cd "${srcdir}/${_original_pkgname}-${pkgver}" | |
41 | ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ | |
42 | --libexecdir=/usr/lib --with-x-app-defaults=/usr/share/X11/app-defaults \ | |
4ac3dd9f H |
43 | --with-pam --without-motif --with-gtk --with-gl \ |
44 | --without-gle --with-xpm --with-pixbuf --with-jpeg | |
45 | #(cd hacks ; make m6502.h) | |
46 | #(cd hacks/glx ; make molecules.h) | |
47 | make | |
209feeb0 H |
48 | } |
49 | ||
50 | package() { | |
51 | cd "${srcdir}/${_original_pkgname}-${pkgver}" | |
4ac3dd9f H |
52 | make install_prefix="${pkgdir}" install |
53 | install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${_original_pkgname}/LICENSE" | |
54 | install -D -m644 ../xscreensaver.pam "${pkgdir}/etc/pam.d/xscreensaver" | |
55 | chmod 755 "${pkgdir}/usr/bin/xscreensaver" | |
56 | #echo "NotShowIn=KDE;GNOME;" >> "${pkgdir}/usr/share/applications/xscreensaver-properties.desktop" | |
209feeb0 | 57 | } |