summaryrefslogtreecommitdiff
path: root/community/srm
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/srm
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/srm')
-rw-r--r--community/srm/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/srm/PKGBUILD b/community/srm/PKGBUILD
new file mode 100644
index 000000000..696b27ccc
--- /dev/null
+++ b/community/srm/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 102189 2013-12-06 12:44:16Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=srm
+pkgver=1.2.11
+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")
+md5sums=('ee8269be18de6bbd3f74252d6e3039fe')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make prefix="${pkgdir}/usr" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/srm/LICENSE"
+}