# Maintainer: Leonardo Arena pkgname=mt-st pkgver=1.3 pkgrel=0 pkgdesc="Linux SCSI tape driver aware magnetic tape control" url="http://www.ibiblio.org/pub/linux/system/backup/" arch="all" license="GPL-2.0-or-later" makedepends="linux-headers" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/iustin/mt-st/archive/mt-st-$pkgver.tar.gz mt-st-include-sysmacros.patch " builddir="$srcdir"/$pkgname-$pkgname-$pkgver build() { cd "$builddir" make } package() { cd "$builddir" for dir in sbin bin usr/share/man/man1 usr/share/man/man8 do mkdir -p $pkgdir/$dir done make SBINDIR=$pkgdir/sbin BINDIR=$pkgdir/bin MANDIR=$pkgdir/usr/share/man install } sha512sums="d2eab36778b4c56c2bc12fc92dd9aae6a4488934b34f0244e7c461a1f0c5c14663f338bc1337502d3b5feac113b2dbc1f969cd4c1acf6df0bbc6b9a3409882de mt-st-1.3.tar.gz 621711dc38436285f98f587a43393c505a101c1a99d3c2b652660cef98c6532813620d6f34fa7ca55fe2e13383e6b5c4930dad5996b4007262a6fdea449c18a7 mt-st-include-sysmacros.patch"