updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cdpr / PKGBUILD
blobda5f4bbd904ab22f50e0ee9e8adbb30eb7f2e1ce
1 # Contributor: Alex Charrett arch at transposed dot org
2 pkgname=cdpr
3 pkgver=2.4
4 pkgrel=1
5 pkgdesc="cdpr is used to decode a Cisco Disovery Protocol (CDP) packet"
6 url="http://sourceforge.net/projects/cdpr"
7 license="GPL"
8 arch=(i686 x86_64)
9 source=(http://heanet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tgz)
10 md5sums=('ee0f112e1a914168d088e4e0291efbcb')
12 build() {
13     cd $startdir/src/$pkgname-$pkgver
14     make || return 1
15     mkdir -p $startdir/pkg/usr/bin
16     install -m 755 $startdir/src/$pkgname-$pkgver/cdpr $startdir/pkg/usr/bin || return 1