updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / mindguard / PKGBUILD
blob1d73b0b8c675e95c27314012d814f9ecc2821b4b
1 pkgname=mindguard
2 pkgver=0.0.0.4
3 pkgrel=2
4 pkgdesc="MindGuard is a program that protects your mind. Package includes the latest carriers"
5 arch=('i686' 'x86_64')
6 license=("MGPL")
7 url="http://zapatopi.net/mindguard/"
8 makedepends=('gtk>=1.2')
9 depends=('gtk>=1.2')
10 _carriersver=20090121
11 source=(http://zapatopi.net/mindguard/${pkgname}-${pkgver}.tgz
12         http://zapatopi.net/mindguard/carriers/carriers.${_carriersver}.tgz
13         Makefile.patch)
14 md5sums=('06ea4e08df9e414557ee5a28d64439bb'
15                  '4ebf19ff03191d286d7ee1ecfbc0d1c4'
16                  '116e36823e4c8ca5f8906e57725b3be4')
18 build() {
19         cd ${startdir}/src/${pkgname}-${pkgver}
20         patch -p0 -i ${startdir}/Makefile.patch
21         make || return 1
22         make DESTDIR=${startdir}/pkg/usr/local install
23         install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
24         cd "${pkgdir}/usr/local/share/MindGuard/carriers"
25         tar xvf "${startdir}/carriers.${_carriersver}.tgz"