summaryrefslogtreecommitdiff
path: root/community/srm/PKGBUILD
blob: 1c08c8c9b3c54e5d04722b054d6c1c358673d0cc (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
# $Id: PKGBUILD 104066 2014-01-15 08:27:26Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=srm
pkgver=1.2.12
pkgrel=1
pkgdesc="A secure replacement for rm(1) that overwrites data before unlinking"
arch=('i686' 'x86_64' 'mips64el')
url="http://srm.sourceforge.net/"
license=('custom')
depends=('glibc')
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz")
md5sums=('395c42753e9d98d6f815ac28a42ba87a')

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"
}