# Maintainer: dorphell <dorphell@archlinux.org>
pkgname=mt-st
pkgver=1.1
pkgrel=1
pkgdesc="Linux SCSI tape driver aware magnetic tape control"
url="http://ftp.ibiblio.org/pub/linux/system/backup/"
depends=('glibc')
arch=('i686' 'x86_64')
license=('GPL2')
source=("http://ftp.ibiblio.org/pub/linux/system/backup/$pkgname-$pkgver.tar.gz")
md5sums=('fdd5f5ec673c9f630a102ceff7612774')

build() {
  cd $srcdir/$pkgname-$pkgver
  
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  
  mkdir -p $pkgdir/{sbin,bin,usr/share/man/man1,usr/share/man/man8}
  
  make \
    SBINDIR=$pkgdir/sbin \
    BINDIR=$pkgdir/bin \
    MANDIR=$pkgdir/usr/share/man \
    install
}

# vim:set ts=2 sw=2 et:
