summaryrefslogtreecommitdiff
path: root/extra/eject/PKGBUILD
blob: b03fd577de18d2bf91c765896dacc810c0d44592 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $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=5
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')
md5sums=('5a6cab2184ae4ed21128054d931d558f'
         '595b97c3bd56fd41e3b01b07885f81dc')

build() {
  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
}