diff options
Diffstat (limited to 'extra/eject/PKGBUILD')
-rw-r--r-- | extra/eject/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/eject/PKGBUILD b/extra/eject/PKGBUILD new file mode 100644 index 000000000..a10bdcab4 --- /dev/null +++ b/extra/eject/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 84697 2010-07-03 16:22:38Z ibiru $ +# 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=(ftp://mirrors.kernel.org/slackware/slackware-13.1/source/a/$pkgname/$pkgname-$pkgver.tar.bz2 + eject-2.1.5-handle-spaces.patch) +md5sums=('5a6cab2184ae4ed21128054d931d558f' + '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 +} |