archrelease: copy trunk to extra-x86_64
[arch-packages.git] / mtdev / repos / extra-x86_64 / PKGBUILD
blob6ee85561dadc6300ddeeaa5331a1d48f65aa941c
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: SpepS <dreamspepser at yahoo dot it>
4 pkgname=mtdev
5 pkgver=1.1.6
6 pkgrel=1
7 pkgdesc="A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol"
8 arch=('x86_64')
9 url="https://bitmath.org/code/mtdev/"
10 license=('custom:MIT')
11 depends=('glibc')
12 source=("$url$pkgname-$pkgver.tar.bz2")
13 sha512sums=('859fb0803f330ecaae69f80713ff5a5235c0cb00de6d5ac2717ad82cea856a92b866f0c272ecfe743186abcf925f95585149ba4828b4c91555cfeb2f2a1c98f1')
15 build() {
16   cd "$pkgname-$pkgver"
17   ./configure --prefix=/usr --disable-static
18   make
21 check() {
22   cd "$pkgname-$pkgver"
23   make -k check
26 package() {
27   cd "$pkgname-$pkgver"
28   make DESTDIR="$pkgdir/" install
30   # license
31   install -Dm644 COPYING \
32     "$pkgdir/usr/share/licenses/$pkgname/LICENSE"