updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / bmap / PKGBUILD
blob968974df0a5eb54ff684ec5540e23d3e7331a7d0
1 pkgname=bmap
2 pkgver=1.0.17
3 pkgrel=1
4 pkgdesc="Bmap can store data in slackspace on any filesystem. It can detect used slackspace and recover the data."
5 url='http://www.securityfocus.com/tools/1359'
6 arch=('i686' 'x86_64')
7 license=('GPL2')
8 makedepends=('linuxdoc-tools')
9 source=("http://www.hacker-soft.net/tools/Miscellaneous/${pkgname}-${pkgver}.tar.gz")
10 md5sums=('8b96a7f41b2de1a076dd4c00f32daee0')
12 build() {
13   cd "${srcdir}/${pkgname}-${pkgver}"
14   sed -i 's|BINDIR = "[^"]*"|BINDIR = $(DESTDIR)/usr/bin|;
15           s|MANDIR = "[^"]*"|MANDIR = $(DESTDIR)/usr/share/man|' Makefile
16   make
19 package() {
20   cd "${srcdir}/${pkgname}-${pkgver}"
21   install -m 755 -d "${pkgdir}/usr/bin" "${pkgdir}/usr/share/man/man1"
22   make DESTDIR="${pkgdir}" install