updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / skippy / PKGBUILD
blob9ea0aebd474c29999ef4c987fa4ba24f096441ab
1 # Contributor: Loui Chang <louipc dot ist at gmail company>
2 # Contributor: rxvt <artwithin@gmail.com>
4 pkgname=skippy
5 pkgver=0.5.0
6 pkgrel=4
7 pkgdesc="A full-screen task-switcher for X11, similar to Apple's Expose."
8 url="http://thegraveyard.org/skippy.php"
9 license=("GPL")
10 arch=('i686' 'x86_64')
11 depends=('imlib2' 'libxft' 'x-server')
12 source=(http://cdn.thegraveyard.org/releases/skippy/$pkgname-$pkgver.tar.bz2 README)
13 md5sums=('c7b5c7f0dd870513494916afd8581323'
14          'd480f2481d87900488aa340a11bd4b2e')
16 build() {
17     cd $srcdir/$pkgname-$pkgver
19     # Not sure if this is really needed. Disable it.
20     if [ "" -a $arch = "x86_64" ]; then
21         echo Replacing CARD32 with unsigned long for $arch...
22         sed -i 's/CARD32/unsigned long/g' *.[c,h]
23     fi
25     CFLAGS="$CFLAGS -DDEBUG -DXINERAMA"
26     LDFLAGS="$LDFLAGS -lXext -lXinerama"
27     make X11PREFIX=/usr/lib
28     make PREFIX=/usr DESTDIR=$pkgdir install
29     install -D -m644 skippyrc-default $pkgdir/usr/share/$pkgname/skippyrc-default
30     install -D -m644 ../README $pkgdir/usr/share/$pkgname/README