summaryrefslogtreecommitdiff
path: root/extra/mtx
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-13 23:14:39 +0000
committerroot <root@rshg054.dnsready.net>2011-09-13 23:14:39 +0000
commita712dc92423a31a4d3ab34fe660df550feebf442 (patch)
treead93851f4343f00cec2f901e4839da01a8b77efe /extra/mtx
parentb3a841a1f66eff75be29fba090b83ce4322d4721 (diff)
Tue Sep 13 23:14:39 UTC 2011
Diffstat (limited to 'extra/mtx')
-rw-r--r--extra/mtx/PKGBUILD26
1 files changed, 15 insertions, 11 deletions
diff --git a/extra/mtx/PKGBUILD b/extra/mtx/PKGBUILD
index 7451c78db..4b014ac72 100644
--- a/extra/mtx/PKGBUILD
+++ b/extra/mtx/PKGBUILD
@@ -1,23 +1,27 @@
-# $Id: PKGBUILD 53028 2009-09-25 05:20:59Z paul $
-# Maintainer: dorphell <dorphell@archlinux.org>
-# Committer: Judd Vinet <jvinet@zeroflux.org>
+# $Id: PKGBUILD 137902 2011-09-12 10:18:06Z allan $
+# Maintainer:
+# Contributer: Judd Vinet <jvinet@zeroflux.org>
+
pkgname=mtx
pkgver=1.3.12
-pkgrel=1
+pkgrel=2
pkgdesc="Send robot commands to tape changer"
arch=('i686' 'x86_64')
url="http://mtx.opensource-sw.net/"
license=('GPL2')
depends=('glibc')
source=(http://downloads.sourceforge.net/mtx/${pkgname}-${pkgver}.tar.gz)
+md5sums=('ce8f0e44671fb0c7d9ec30bb0bfa8b5c')
build() {
- cd $startdir/src/${pkgname}-${pkgver} || return 1
+ cd $srcdir/${pkgname}-${pkgver}
sed -i 's/static const unsigned char scsi_command_size/const unsigned char scsi_command_size/' \
- sg_err.c || return 1
- ./configure --prefix='/usr' --datadir='/usr/share' || return 1
- make || return 1
- mkdir $startdir/pkg/usr || return 1
- make prefix=$startdir/pkg/usr install || return 1
+ sg_err.c
+ ./configure --prefix='/usr' --datadir='/usr/share'
+ make
+}
+
+package() {
+ cd $srcdir/${pkgname}-${pkgver}
+ make prefix=$pkgdir/usr install
}
-md5sums=('ce8f0e44671fb0c7d9ec30bb0bfa8b5c')