blob: a98d5860d4a877dd3170ddb81abfe020514ba137 (
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
35
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Dylan Whichard <dylan at whichard dot com>
pkgname=mtx-svn
_pkgname=mtx
pkgver=r200
pkgrel=2
pkgdesc="Tools used to view information about, and to control, Media Changer devices such as Tape and DVD/CD libraries."
arch=('armv6h' 'armv7h' 'aarch64' 'i686' 'pentium4' 'x86_64')
url="https://sourceforge.net/projects/mtx/"
license=('GPL2')
provides=('mtx')
conflicts=('mtx')
makedepends=('subversion')
source=("mtx-svn::svn+http://svn.code.sf.net/p/mtx/code/trunk#revision=${pkgver#r}")
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
}
# vim:set ts=2 sw=2 et:
|