File PKGBUILD of Package libsmi
#
# Contributor: Michael Asher < asherlm at gmail dot com >
#
pkgname=libsmi
pkgver=0.5.0
pkgrel=3
pkgdesc="Libsmi is a C library that allows network management applications and MIB and PIB authoring tools to access SMI MIB information."
arch=('i686' 'x86_64')
url="http://www.ibr.cs.tu-bs.de/projects/libsmi/"
license=('Custom')
groups=()
depends=()
makedepends=()
provides=('libsmi=$pkgver')
install=libsmi.install
source=(https://www.ibr.cs.tu-bs.de/projects/${pkgname}/download/${pkgname}-${pkgver}.tar.gz
LICENSE)
sha512sums=('SKIP'
'51121f9dfc80a8fe13392aa98e75c43d312c65f5a7c86d364f3efff9d713f0f455e6040bbe82f1e38e796b316b4dcb6c98d3e8dfa16d751944751dc0fcd0c74e')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
# vim:set ts=2 sw=2: