summaryrefslogtreecommitdiff
path: root/extra/eject/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/eject/PKGBUILD')
-rw-r--r--extra/eject/PKGBUILD43
1 files changed, 32 insertions, 11 deletions
diff --git a/extra/eject/PKGBUILD b/extra/eject/PKGBUILD
index b03fd577d..131f4584e 100644
--- a/extra/eject/PKGBUILD
+++ b/extra/eject/PKGBUILD
@@ -1,29 +1,50 @@
-# $Id: PKGBUILD 122087 2011-05-02 06:23:02Z andrea $
-# Maintainer:
+# $Id: PKGBUILD 135944 2011-08-20 17:05:11Z tomegun $
+# Maintainer: Tom Gundersen <teg@jlkm.no>
+# Contributor: Natrio <natrio@list.ru>
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=eject
pkgver=2.1.5
-pkgrel=5
-pkgdesc="A program for ejecting removable media under software control"
+pkgrel=7
+pkgdesc="A program for ejecting removable media under software control."
arch=('i686' 'x86_64')
url="http://eject.sourceforge.net/"
license=('GPL')
depends=('glibc')
-source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
- 'eject-2.1.5-handle-spaces.patch')
+source=("ftp://ftp.archlinux.org/other/eject/eject-${pkgver}.tar.bz2"
+ 'eject-2.1.1-verbose.patch'
+ 'eject-2.1.5-lock.patch'
+ 'eject-2.1.5-spaces.patch'
+ 'eject-2.1.5-umount.patch'
+ 'eject-timeout.patch'
+ 'eject-2.1.5-unlock.patch'
+ 'eject-2.1.5-openrw.patch')
md5sums=('5a6cab2184ae4ed21128054d931d558f'
- '595b97c3bd56fd41e3b01b07885f81dc')
+ '4fb81806de181d5f353a459b7f122081'
+ '7d18c14f7b1bb50149fd2b41215dc4f2'
+ '64f5c54dac064e6dbc427025d919221b'
+ '34221248a269703d3a47a8d2a6fdd2e2'
+ 'f6b1b702ef9174e2fd05a56ee2de850e'
+ 'f384f98fa689b087d99217a7403bf706'
+ 'e74d742540e4f399d348af495bf00e85')
build() {
- cd "${srcdir}/${pkgname}"
- patch -Np0 -i "${srcdir}/eject-2.1.5-handle-spaces.patch"
- ./configure --prefix=/usr --mandir=/usr/share/man
+ cd "${srcdir}/eject"
+ patch -p1 -i "${srcdir}/eject-2.1.1-verbose.patch"
+ patch -p1 -i "${srcdir}/eject-2.1.5-lock.patch"
+ patch -p1 -i "${srcdir}/eject-2.1.5-spaces.patch"
+ patch -p1 -i "${srcdir}/eject-2.1.5-umount.patch"
+ patch -p1 -i "${srcdir}/eject-timeout.patch"
+ patch -p1 -i "${srcdir}/eject-2.1.5-unlock.patch"
+ patch -p1 -i "${srcdir}/eject-2.1.5-openrw.patch"
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-default-device=sr0
make
}
package() {
- cd "${srcdir}/${pkgname}"
+ cd "${srcdir}/eject"
make DESTDIR="${pkgdir}" install
}