PKGBUILDs/extra/eject/PKGBUILD

23 lines
779 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 30403 2009-03-19 06:32:31Z eric $
# Maintainer: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=eject
pkgver=2.1.5
pkgrel=4
pkgdesc="Eject is a program for ejecting removable media under software control"
arch=(i686 x86_64)
url="http://ca.geocities.com/jefftranter@rogers.com/eject.html"
license=('GPL')
depends=('glibc')
source=(http://www.pobox.com/~tranter/$pkgname-$pkgver.tar.gz eject-2.1.5-handle-spaces.patch)
md5sums=('b96a6d4263122f1711db12701d79f738' '595b97c3bd56fd41e3b01b07885f81dc')
build() {
cd $srcdir/$pkgname
patch -Np0 -i ../eject-2.1.5-handle-spaces.patch || return 1
./configure --prefix=/usr --mandir=/usr/share/man || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
}