updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / cheops / PKGBUILD
blobf3e7e2d8baf1619835310ca4bb66ba53297942e1
1 # Maintainer: Wellington Oliveira de Andrade <wellington79@gmail.com>
2 pkgname=cheops
3 pkgver=0.61
4 pkgrel=15
5 pkgdesc="Network Tools."
6 url="http://www.marko.net/cheops/"
7 if [ "${CARCH}" = 'x86_64' ]; then
8     depends=()
9     arch2="amd64"
10     md5sums=('101628139 320468')
11 elif [ "${CARCH}" = 'i686' ]; then
12     depends=()
13     arch2="i386"
14     md5sums=('412024331 309310')
17 source=(http://download.unesp.br/linux/debian/pool/main/c/$pkgname/${pkgname}_$pkgver-$pkgrel.1_$arch2.deb)
18 arch=('i686' 'x86_64')
19 license=('GPL')
21 build() {
22     cd $startdir/src
24     bsdtar xf "${pkgname}_${pkgver}-${pkgrel}.1_$arch2.deb" || return 1
25     bsdtar xf data.tar.gz -C $startdir/pkg || return 1