summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-14 11:13:25 +0200
committerErich Eckner <git@eckner.net>2019-04-14 11:24:11 +0200
commitf1ccb4294c21d0e3c01c5ea41c307d16dda5006a (patch)
tree28fcad5f86f327cd7c07e6e5a418a9a3acc9999c
parent1476eb987537b886aa52d080ddfd812a5e21bbc7 (diff)
downloadarchlinuxewe-f1ccb4294c21d0e3c01c5ea41c307d16dda5006a.tar.xz
mtx-svn new
-rw-r--r--mtx-svn/.gitignore1
-rw-r--r--mtx-svn/PKGBUILD35
2 files changed, 36 insertions, 0 deletions
diff --git a/mtx-svn/.gitignore b/mtx-svn/.gitignore
new file mode 100644
index 000000000..39580bac6
--- /dev/null
+++ b/mtx-svn/.gitignore
@@ -0,0 +1 @@
+mtx-svn
diff --git a/mtx-svn/PKGBUILD b/mtx-svn/PKGBUILD
new file mode 100644
index 000000000..e37e0556d
--- /dev/null
+++ b/mtx-svn/PKGBUILD
@@ -0,0 +1,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=1
+pkgdesc="Tools used to view information about, and to control, Media Changer devices such as Tape and DVD/CD libraries."
+arch=('i686' 'pentium4' 'x86_64')
+url="http://http://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')
+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: