updated on Wed Jan 11 20:01:35 UTC 2012
[aur-mirror.git] / gip / PKGBUILD
blob9954f1065deb3062a2056cf03a04993107ba7a73
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=gip
4 pkgver=1.7.0_1
5 pkgrel=1
6 pkgdesc="An IP address calculator"
7 arch=('i686' 'x86_64')
8 url="http://gip.googlecode.com/"
9 license=('GPL')
10 depends=('desktop-file-utils' 'gtkmm>=2.4' 'shared-mime-info')
11 makedepends=('gettext' 'intltool' 'pkgconfig')
12 install=gip.install
13 source=(http://gip.googlecode.com/files/gip-${pkgver/_/-}.tar.gz
14         gip-$pkgver.diff)
15 md5sums=('a45c1ace942b2f51bee61e75a4b2465a'
16          'd38800c21da78132ff82ff0ef8aa668b')
18 build() {
19   cd "$srcdir/gip-${pkgver/_/-}"
20   patch -Np1 -i ../gip-$pkgver.diff || return 1
21   ./build.sh --prefix /usr || return 1
22   ./build.sh --prefix "$pkgdir/usr" --install || return 1