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 |
0630de86 | 11 | pkgrel=2 |
209feeb0 H |
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') | |
0630de86 | 16 | depends=('libxxf86vm' 'libglade' 'mesa' 'pam' 'xorg-appres' 'libxmu') |
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') | |
0630de86 H |
32 | sha1sums=('7252540b1b1853459a56453714c0974de26fa4c5' |
33 | '65c2933380267475f2c4560bc22f4350393b00ce' | |
34 | '106635aa1aae51d6f0668b1853f6c49a4fe9d3d8' | |
35 | '4209ea586b204fd1d81c382a0522c654f9fd9134' | |
36 | '5ff6dfd0a14ca484d4287647c3e00af8e417163c' | |
37 | '63ed187b08864993684f826dc87b1c5f42ea5bf4' | |
38 | '203ca4f21e0d42263fc0ebb796eaf968c457d93a' | |
39 | '619cff60b77812545493dbedb0ba247a37f381e5') | |
40 | ||
209feeb0 H |
41 | |
42 | build() { | |
43 | cd "${srcdir}/${_original_pkgname}-${pkgver}" | |
4ac3dd9f | 44 | patch -Np0 -i "${srcdir}/add-electricsheep.diff" |
209feeb0 H |
45 | |
46 | cd ${srcdir} | |
47 | cp -f logo-180.xpm ${_original_pkgname}-${pkgver}/utils/images/ | |
48 | ||
49 | cd "${srcdir}/${_original_pkgname}-${pkgver}" | |
50 | ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ | |
51 | --libexecdir=/usr/lib --with-x-app-defaults=/usr/share/X11/app-defaults \ | |
4ac3dd9f H |
52 | --with-pam --without-motif --with-gtk --with-gl \ |
53 | --without-gle --with-xpm --with-pixbuf --with-jpeg | |
54 | #(cd hacks ; make m6502.h) | |
55 | #(cd hacks/glx ; make molecules.h) | |
56 | make | |
209feeb0 H |
57 | } |
58 | ||
59 | package() { | |
60 | cd "${srcdir}/${_original_pkgname}-${pkgver}" | |
4ac3dd9f H |
61 | make install_prefix="${pkgdir}" install |
62 | install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${_original_pkgname}/LICENSE" | |
63 | install -D -m644 ../xscreensaver.pam "${pkgdir}/etc/pam.d/xscreensaver" | |
64 | chmod 755 "${pkgdir}/usr/bin/xscreensaver" | |
65 | #echo "NotShowIn=KDE;GNOME;" >> "${pkgdir}/usr/share/applications/xscreensaver-properties.desktop" | |
209feeb0 | 66 | } |