summaryrefslogtreecommitdiff
path: root/extra/mt-st/PKGBUILD
blob: a0963606f6ce56dc2685e0d947dc498da91f1559 (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
# $Id: PKGBUILD 137900 2011-09-12 10:12:39Z allan $
# Maintainer:
# Contributer: dorphell <dorphell@archlinux.org>

pkgname=mt-st
pkgver=1.1
pkgrel=3
pkgdesc="Linux SCSI tape driver aware magnetic tape control"
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 $srcdir/$pkgname-$pkgver
  make
}

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
}