1 # Contributor: Loui Chang <louipc dot ist at gmail company>
2 # Contributor: rxvt <artwithin@gmail.com>
7 pkgdesc="A full-screen task-switcher for X11, similar to Apple's Expose."
8 url="http://thegraveyard.org/skippy.php"
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')
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]
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