summaryrefslogtreecommitdiff
path: root/adapted/mtx-git/PKGBUILD
blob: 240b3128ba46f2052718af2337d180d1fb95f3ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
}