updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / xtrascreenhacks / PKGBUILD
blobdd46b8de5ce04c31a914d57b765d4668dc4154bc
1 # Maintainer: onexused <aursignup dot kyoo at xoxy dot net>
3 pkgname=xtrascreenhacks
4 pkgver=0.7
5 pkgrel=2
6 pkgdesc="A collection of display modes that are based on and intended to be run with the XScreensaver distribution."
7 url="http://home.comcast.net/~shegeek/xtrascreenhacks/"
8 license="MIT"
9 arch=('i686' 'x86_64')
10 depends=('xscreensaver' 'libgl')
11 makedepends=('make')
12 optdepends=('kdeartwork-kscreensaver' 'gnome-screensaver')
13 install=(xtrascreenhacks.install)
14 source=(http://home.comcast.net/~shegeek/xtrascreenhacks/${pkgname}-${pkgver}.tar.bz2
15         'psychedelic.xml'
16         'psychedelic-new-options.diff'
17         'plasmamap.c'
18         'plasmamap.h')
19 md5sums=('fbb4108fe4c80e634f11429f4ed0f5cc'
20          '0818dfee57fa0dc33e34fbd42e02e5e0'
21          'ba9d30f60b82180b050bbb796b4c9b62'
22          '992b3a9cb9d78689e7d090dd130e991b'
23          '5e6576f745059e27560fe01590132b4b')
24 sha1sums=('18c9d57a5175ee7178393f6876bc646fafb99043'
25           'dea6a6cea35d1195c1d657f5e05d683c341fda37'
26           '3de4f0006285a379b9c03e2963d1e2516394cdf1'
27           'a58a1afd268873f4ecd9ffd4b07c7f9835609560'
28           '48765f36224790fb33b20ce7df4a80a2a6634b52')
30 build() {
31    cd "${srcdir}"/$pkgname-$pkgver
32    cp "${srcdir}"/psychedelic.xml hacks/config/
33    cp "${srcdir}"/plasmamap.h hacks/glx/
34    cp "${srcdir}"/plasmamap.c hacks/glx/
35    patch -p0 < "${srcdir}"/psychedelic-new-options.diff
36    ./configure --with-hackdir="${pkgdir}"/usr/lib/xscreensaver \
37          --with-configdir="${pkgdir}"/usr/share/xscreensaver/config \
38          --prefix="${pkgdir}"/usr
39    make 
40    }
42 package() {
43    cd "${srcdir}"/$pkgname-$pkgver
44    DESTDIR="${pkgdir}" make install
45    }