diff options
Diffstat (limited to 'extra/mtx/PKGBUILD')
-rw-r--r-- | extra/mtx/PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/mtx/PKGBUILD b/extra/mtx/PKGBUILD new file mode 100644 index 000000000..7451c78db --- /dev/null +++ b/extra/mtx/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 53028 2009-09-25 05:20:59Z paul $ +# Maintainer: dorphell <dorphell@archlinux.org> +# Committer: Judd Vinet <jvinet@zeroflux.org> +pkgname=mtx +pkgver=1.3.12 +pkgrel=1 +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) + +build() { + cd $startdir/src/${pkgname}-${pkgver} || return 1 + 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 +} +md5sums=('ce8f0e44671fb0c7d9ec30bb0bfa8b5c') |