diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2023-11-05 10:48:28 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2023-11-05 10:48:28 +0100 |
commit | 656bb0cd15b18c1a07b2caf9d11c1fc961993c48 (patch) | |
tree | a3863f1c34d9b2f4b21c0a9daf684803b08e7b1d | |
parent | 1b6d402434c9d8210a44d5f0bdb138c9e528a773 (diff) | |
download | arch-656bb0cd15b18c1a07b2caf9d11c1fc961993c48.tar.gz arch-656bb0cd15b18c1a07b2caf9d11c1fc961993c48.tar.bz2 |
mtx-git: fix for github repo
-rw-r--r-- | adapted/mtx-git/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/adapted/mtx-git/PKGBUILD b/adapted/mtx-git/PKGBUILD new file mode 100644 index 0000000..240b312 --- /dev/null +++ b/adapted/mtx-git/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: William Sutton <will at sutton-family dot org> + +pkgname=mtx-git +_pkgname=mtx +pkgver=20191126 +pkgrel=1.1 +pkgdesc="Tools used to view information about, and to control, Media Changer devices such as Tape and DVD/CD libraries." +arch=('i686' 'x86_64') +url="https://github.com/zombielinux/MTX" +license=('GPL2') +provides=('mtx') +conflicts=('mtx') +makedepends=('git') +#source=(git+https://github.com/zombielinux/MTX.git) +source=(git+https://github.com/mtx-org/mtx.git) +md5sums=('SKIP') + +#pkgver() { +# cd "${pkgname}" +# local ver="$(svnversion)" +# printf "r%s" "${ver//[[:alpha:]]}" +#} + +build() { + cd "${srcdir}/${_pkgname}/mtx" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${_pkgname}/mtx" + make prefix="$pkgdir/usr" sbindir="$pkgdir/usr/bin" mandir="$pkgdir/usr/share/man" install +} + |