summaryrefslogtreecommitdiff
path: root/extra/mt-st
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/mt-st
parentb3a841a1f66eff75be29fba090b83ce4322d4721 (diff)
Tue Sep 13 23:14:39 UTC 2011
Diffstat (limited to 'extra/mt-st')
-rw-r--r--extra/mt-st/PKGBUILD27
1 files changed, 15 insertions, 12 deletions
diff --git a/extra/mt-st/PKGBUILD b/extra/mt-st/PKGBUILD
index 17ef58f94..a0963606f 100644
--- a/extra/mt-st/PKGBUILD
+++ b/extra/mt-st/PKGBUILD
@@ -1,23 +1,26 @@
-# $Id: PKGBUILD 53023 2009-09-25 05:09:23Z paul $
-# Maintainer: dorphell <dorphell@archlinux.org>
+# $Id: PKGBUILD 137900 2011-09-12 10:12:39Z allan $
+# Maintainer:
+# Contributer: dorphell <dorphell@archlinux.org>
+
pkgname=mt-st
pkgver=1.1
-pkgrel=2
+pkgrel=3
pkgdesc="Linux SCSI tape driver aware magnetic tape control"
-arch=(i686 x86_64)
-url="ftp://ftp.ibiblio.org/pub/linux/system/backup/"
-depends=('glibc')
arch=('i686' 'x86_64')
+url="ftp://ftp.ibiblio.org/pub/linux/system/backup/"
license=('GPL2')
+depends=('glibc')
source=(ftp://ftp.ibiblio.org/pub/linux/system/backup/$pkgname-$pkgver.tar.gz)
md5sums=('fdd5f5ec673c9f630a102ceff7612774')
build() {
- cd $startdir/src/$pkgname-$pkgver || return 1
-
- make || return 1
+ cd $srcdir/$pkgname-$pkgver
+ make
+}
- mkdir -p $startdir/pkg/{sbin,bin,usr/share/man/man1,usr/share/man/man8} || return 1
- make SBINDIR=$startdir/pkg/sbin BINDIR=$startdir/pkg/bin \
- MANDIR=$startdir/pkg/usr/share/man install || return 1
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ install -dm755 $pkgdir/{sbin,bin,usr/share/man/man1,usr/share/man/man8}
+ make SBINDIR=$pkgdir/sbin BINDIR=$pkgdir/bin \
+ MANDIR=$pkgdir/usr/share/man install
}