# $Id: PKGBUILD 30403 2009-03-19 06:32:31Z eric $ # Maintainer: dorphell # Contributor: Tom Newsom 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 }