diff options
Diffstat (limited to 'main/mt-st')
-rw-r--r-- | main/mt-st/APKBUILD | 32 | ||||
-rw-r--r-- | main/mt-st/mt-st-include-sysmacros.patch | 10 |
2 files changed, 14 insertions, 28 deletions
diff --git a/main/mt-st/APKBUILD b/main/mt-st/APKBUILD index 175b1e956b0..8b9e944dc6c 100644 --- a/main/mt-st/APKBUILD +++ b/main/mt-st/APKBUILD @@ -1,32 +1,28 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=mt-st -pkgver=1.3 +pkgver=1.7 pkgrel=0 pkgdesc="Linux SCSI tape driver aware magnetic tape control" -url="http://www.ibiblio.org/pub/linux/system/backup/" +url="https://github.com/iustin/mt-st" arch="all" -license="GPL-2.0-or-later" +license="GPL-2.0-only" 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 +subpackages="$pkgname-doc $pkgname-bash-completion" +source="$pkgname-$pkgver.tar.gz::https://github.com/iustin/mt-st/archive/v$pkgver.tar.gz" +options="!check" 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 + make \ + SBINDIR=$pkgdir/sbin \ + BINDIR=$pkgdir/bin \ + MANDIR=$pkgdir/usr/share/man \ + COMPLETIONINSTALLDIR=$pkgdir/usr/share/bash-completion/completions install } -sha512sums="d2eab36778b4c56c2bc12fc92dd9aae6a4488934b34f0244e7c461a1f0c5c14663f338bc1337502d3b5feac113b2dbc1f969cd4c1acf6df0bbc6b9a3409882de mt-st-1.3.tar.gz -621711dc38436285f98f587a43393c505a101c1a99d3c2b652660cef98c6532813620d6f34fa7ca55fe2e13383e6b5c4930dad5996b4007262a6fdea449c18a7 mt-st-include-sysmacros.patch" +sha512sums=" +90d98a144b389c7d693fc9360aca5a84d37d60a38fe190c1b23d1c70542fae99b48f328671c72f95a3c357cfaf3ee3bbade5866f00bef319792212044ed23d14 mt-st-1.7.tar.gz +" diff --git a/main/mt-st/mt-st-include-sysmacros.patch b/main/mt-st/mt-st-include-sysmacros.patch deleted file mode 100644 index 4edd0ca8dea..00000000000 --- a/main/mt-st/mt-st-include-sysmacros.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/mt.c -+++ b/mt.c -@@ -19,6 +19,7 @@ - #include <errno.h> - #include <fcntl.h> - #include <sys/types.h> -+#include <sys/sysmacros.h> - #include <sys/ioctl.h> - #include <sys/stat.h> - #include <sys/utsname.h> |