summaryrefslogtreecommitdiff
path: root/extra/srm/PKGBUILD
blob: d35fb4531f97271ecd0199b42b77afc8626702da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 100939 2010-11-26 19:52:12Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=srm
pkgver=1.2.11
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.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
}