1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Maintainer: Thomas Oster <thomas.oster@rwth-aachen.de>
11 pkgdesc="HTTP Compression & Caching Solution (Proxy Server)"
13 url="http://visolve.com/vicompress"
27 source=(http://www.visolve.com/$pkgname/$pkgname-$pkgver.tar.gz)
29 md5sums=('ec8da6a5f9c30c5a08a539c326b07248')
31 cd "$srcdir/$pkgname-$pkgver/src"
32 ./configure /usr/share/$pkgname/
33 # Patch Makefile for DESTDIR and PREFIX support
34 sed 's#${PREFIX}#${DESTDIR}${PREFIX}#g' < Makefile|sed 's#${DESTDIR}${PREFIX}|g#${PREFIX}|g#g' > Makefile.fixed
36 mv Makefile.fixed Makefile
41 cd "$srcdir/$pkgname-$pkgver/src"
42 make DESTDIR="$pkgdir/" install
43 mkdir -p $pkgdir/etc/rc.d
44 ln -s /usr/share/$pkgname/bin/$pkgname.sh $pkgdir/etc/rc.d/$pkgname