summaryrefslogtreecommitdiff
path: root/extra/eject
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-04 10:10:35 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-04 10:10:35 -0300
commitb9ab7ef683fd366635faca49342ee005846037ab (patch)
tree3bb0ff57a43d068e85dc5318887f700b071c7f8f /extra/eject
parent7046a475b24925c0ec7816ef7d2cdcf3b9cd4eb0 (diff)
parentab1410d33401cf1fc4a384bb0b2d9901c8fe8d14 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/gimmie/PKGBUILD community/glipper-old/PKGBUILD community/glipper/PKGBUILD community/lcms2/PKGBUILD community/libpanelappletmm/PKGBUILD community/panflute/PKGBUILD community/sensors-applet/PKGBUILD community/wtf/PKGBUILD community/xmonad-log-applet/PKGBUILD core/binutils/PKGBUILD core/tzdata/PKGBUILD extra/a52dec/PKGBUILD extra/aubio/PKGBUILD extra/automoc4/PKGBUILD extra/deskbar-applet/PKGBUILD extra/eject/PKGBUILD extra/ekiga/PKGBUILD extra/gnome-netstatus/PKGBUILD extra/gnome-python-desktop/PKGBUILD extra/htdig/PKGBUILD extra/ktorrent/PKGBUILD extra/libgail-gnome/PKGBUILD extra/libktorrent/PKGBUILD extra/libofa/PKGBUILD extra/netspeed-applet/PKGBUILD extra/openexr/PKGBUILD extra/postgresql/PKGBUILD extra/pulseaudio-mixer-applet/PKGBUILD extra/seahorse-plugins/PKGBUILD extra/telepathy-qt4/PKGBUILD libre/kernel26-libre/PKGBUILD testing/libtool/PKGBUILD testing/xfsprogs/PKGBUILD
Diffstat (limited to 'extra/eject')
-rw-r--r--extra/eject/PKGBUILD29
1 files changed, 17 insertions, 12 deletions
diff --git a/extra/eject/PKGBUILD b/extra/eject/PKGBUILD
index 9ee637d40..3ec0bd9c2 100644
--- a/extra/eject/PKGBUILD
+++ b/extra/eject/PKGBUILD
@@ -1,24 +1,29 @@
-# $Id: PKGBUILD 84697 2010-07-03 16:22:38Z ibiru $
-# Maintainer: dorphell <dorphell@archlinux.org>
+# $Id: PKGBUILD 122087 2011-05-02 06:23:02Z andrea $
+# Maintainer:
+# Contributor: 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"
+pkgrel=5
+pkgdesc="A program for ejecting removable media under software control"
arch=('i686' 'x86_64' 'mips64el')
-url="http://ca.geocities.com/jefftranter@rogers.com/eject.html"
+url="http://eject.sourceforge.net/"
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)
+source=("ftp://ftp.archlinux.org/other/${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
+ cd "${srcdir}/${pkgname}"
+ patch -Np0 -i "${srcdir}/eject-2.1.5-handle-spaces.patch"
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ make DESTDIR="${pkgdir}" install
}