# $Id: PKGBUILD 198330 2013-10-30 14:12:39Z allan $ # Maintainer: AndyRTR # Contributor: SpepS pkgname=mtdev pkgver=1.1.4 pkgrel=1 pkgdesc="A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol" arch=('i686' 'x86_64' 'mips64el') url="http://bitmath.org/code/mtdev/" license=('custom:MIT') depends=('glibc') source=("$url$pkgname-$pkgver.tar.bz2") md5sums=('73a915d6075b31db4f08ab8c6d314695') build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --disable-static make } check() { cd "$srcdir/$pkgname-$pkgver" make -k check } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir/" install # license install -Dm644 COPYING \ "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }