updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / xscreensaver-retired / PKGBUILD
blob8863649191aa2121f6be7bd2e9b60166efba09d1
1 # $Id: PKGBUILD 113959 2011-03-10 22:37:48Z jgc $
2 # Maintainer: onexused <aursignup dot kyoo at xoxy dot net>
3 # Modified to fit your television.
5 pkgname=xscreensaver-retired
6 pkgver=5.15
7 pkgrel=1
8 pkgdesc="'Retired' xscreensaver hacks that are still included in the source."
9 arch=('i686' 'x86_64')
10 url="http://www.jwz.org/xscreensaver/"
11 license=('BSD')
12 depends=('xscreensaver')
13 makedepends=('bc')
14 install=xscreensaver-retired.install
15 source=(http://www.jwz.org/xscreensaver/xscreensaver-${pkgver}.tar.gz \
16         comeback.diff \
17         LICENSE \
18         xscreensaver-retired.install)
19 md5sums=('c0b8b2c817a9a7371f51a82e80602d10'\
20          'd38fe907d3636d6838e31854731cbe8e'\
21          '5e7f3f2a63d20a484742f5b4cb5d572c'\
22          '74c2b783d3bf714294b44015b50fe6ad')
24 sha1sums=('b5ce7caa19f4d57c3bac83377a36dddbe7095052'\
25           '8075e4801233c0a41e6160ac97a179204c976b1b'\
26           '4209ea586b204fd1d81c382a0522c654f9fd9134'\
27           '5f963465abad896905511d3a81e11ba4ab203e39')
29 build() {
30   cd "${srcdir}/xscreensaver-${pkgver}"
31   patch -Np1 -i "${srcdir}/comeback.diff"
32   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
33     --libexecdir=/usr/lib --with-x-app-defaults=/usr/share/X11/app-defaults \
34     --with-pam --without-motif --with-gtk --with-gl \
35     --without-gle --with-xpm --with-pixbuf --with-jpeg
36   make
39 package() {
40   cd "${srcdir}/xscreensaver-${pkgver}"
41   make install_prefix="${pkgdir}" install
42 #  cd "${srcdir}/xscreensaver-${pkgver}/hacks"
43 #  install -d -m644 "${pkgdir}/usr/lib/xscreensaver/"
44 #  cp ant bubbles critical flag forest glx/glforestfire hyperball hypercube \
45 #  juggle laser lightning lisa lissie lmorph t3d vines whirlygig worm rotor \
46 #  sphere spiral \
47 #  "${pkgdir}/usr/lib/xscreensaver/"
48 #  cd config
49 #  install -d -m644 "${pkgdir}/usr/share/xscreensaver/config/"
50 #  cp ant.xml bubbles.xml critical.xml flag.xml forest.xml glforestfire.xml \
51 #  hyperball.xml hypercube.xml juggle.xml laser.xml lightning.xml lisa.xml \
52 #  lissie.xml lmorph.xml t3d.xml vines.xml whirlygig.xml worm.xml rotor.xml \
53 #  sphere.xml spiral.xml \
54 #  "${pkgdir}/usr/share/xscreensaver/config/"
55   install -D -m644 ${srcdir}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"