PKGBUILDs/extra/srm/PKGBUILD

25 lines
724 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 13794 2008-09-28 16:22:58Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
#
pkgname=srm
pkgver=1.2.9
pkgrel=1
pkgdesc="A secure replacement for rm(1) that overwrites data before unlinking"
arch=('i686' 'x86_64')
license=('custom')
depends=('glibc')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
url="http://srm.sourceforge.net/"
md5sums=('7c65937cb9a7af75d1ab6d0927c6a2cc')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make prefix=$startdir/pkg/usr install
install -Dm644 COPYING $startdir/pkg/usr/share/licenses/srm/COPYNG
}
# vim: ts=2 sw=2 et ft=sh