updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / msn-proxy-mysql / PKGBUILD
blobfd0f6b51ae70b1d26a628a554994694baecdff46
1 # Contributor: David Valentim Dias <dvdscripter@gmail.com>
2 pkgname=msn-proxy-mysql
3 pkgver=0.6.3
4 pkgrel=1
5 pkgdesc="A lightweight transparent proxy used to control/monitor the use of msn messenger clients. Using mysql."
6 arch=('i686')
7 url="http://sourceforge.net/projects/msn-proxy/"
8 license=('BSD')
9 depends=(libevent mysql)
10 source=(http://downloads.sourceforge.net/msn-proxy/msn-proxy-$pkgver-mysql.tar.gz
11         Makefile.patch
12         msn-proxy.sh)
14 md5sums=('1b143133d3462b3a6fdc22dc77e3df5a'
15         'd9fc657614b05c003a43a20ee293ac04'
16         'bb142ff7bccbd43ddc1ee9fa8cc1ea61')
19 build() {
20         cd $startdir/src/msn-proxy
21         patch -p0 -i ../Makefile.patch || return 1
22         make DESTDIR=$startdir/pkg install || return 1
23         install -D -m755 ../msn-proxy.sh ${startdir}/pkg/etc/rc.d/msn-proxy
24         chmod 600 ${startdir}/pkg/etc/msn-proxy/mysql/conf