diff options
author | root <root@rshg054.dnsready.net> | 2011-12-02 23:14:59 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-02 23:14:59 +0000 |
commit | 8eed59114cbcf729b65f87d3f73530f6c8363d20 (patch) | |
tree | db7d4f28ed86bbb2681253cb8bae851030d111e3 /extra/srm | |
parent | 9e9ab642711f2424f828e21d14b98c45cdef2b29 (diff) |
Fri Dec 2 23:14:59 UTC 2011
Diffstat (limited to 'extra/srm')
-rw-r--r-- | extra/srm/PKGBUILD | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/extra/srm/PKGBUILD b/extra/srm/PKGBUILD index 8609ada5b..3ca27ff05 100644 --- a/extra/srm/PKGBUILD +++ b/extra/srm/PKGBUILD @@ -1,23 +1,28 @@ -# $Id: PKGBUILD 100939 2010-11-26 19:52:12Z giovanni $ +# $Id: PKGBUILD 143982 2011-12-01 15:00:19Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=srm pkgver=1.2.11 -pkgrel=1 +pkgrel=2 pkgdesc="A secure replacement for rm(1) that overwrites data before unlinking" arch=('i686' 'x86_64') url="http://srm.sourceforge.net/" license=('custom') depends=('glibc') -source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2) +source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2") md5sums=('ee8269be18de6bbd3f74252d6e3039fe') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr - make || return 1 - make prefix="${pkgdir}/usr" install || return 1 - install -Dm644 COPYING "${pkgdir}/usr/share/licenses/srm/LICENSE" || return 1 + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make prefix="${pkgdir}/usr" install + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/srm/LICENSE" } |