summaryrefslogtreecommitdiff
path: root/extra/eject/PKGBUILD
blob: 3ec0bd9c200720c25ed4af7d0165eae4acf7b9fe (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' 'mips64el')
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
}