1 # Contributor: Roberto Salas <ro0xito@gmail.com>
2 # Contributor: Connor Behan <connor.behan@gmail.com>
4 pkgname=alltray-scriptable
7 pkgdesc="Drops any app in the tray and waits for a signal to close it"
10 url="http://alltray.sourceforge.net"
15 source=(http://downloads.sourceforge.net/sourceforge/alltray/alltray-$pkgver.tar.gz signal.patch)
16 install=($pkgname.install)
17 md5sums=('675a0a60f22fae04da787095ef0bd7d9'
18 'b7aa418a5f82d1d69eb752868d9c86af')
22 cd $startdir/src/alltray-$pkgver
23 patch -p0 ./src/main.c <${startdir}/signal.patch
26 if [ "$CARCH" = "x86_64" ]; then
27 ./configure --prefix=/usr --disable-gconf
28 else ./configure --prefix=/usr
32 make DESTDIR=$startdir/pkg install
33 mkdir $startdir/pkg/etc
34 mkdir $startdir/pkg/etc/alltray
36 find $startdir/pkg -name *.la -exec rm {} +