updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / safecat / PKGBUILD
blobaf868814472e744f4f40a829604ea9dfe6078211
1 # Made by Mark <mark@caffeine-powered.net>.
3 pkgname=safecat
4 pkgver=1.13
5 pkgrel=4
6 pkgdesc="Safecat copies standard input safely to a specified directory."
7 arch=('i686' 'x86_64')
8 url="http://www.jeenyus.net/linux/software/safecat.html"
9 license=('GPLv2')
10 source=(http://www.jeenyus.net/linux/software/safecat/safecat-${pkgver}.tar.gz config.patch)
11 md5sums=('41f76b6c8c47f467556651855ea027a7'
12          '644ab391a0588e077090fa86a75647da')
14 build() {
15         cd $pkgname-$pkgver
16         sed -i "s;TMPDIR_PKGBUILD;$pkgdir/usr;g" ../config.patch
17         patch < ../config.patch
18         make  || return 1
19         make setup check || return 1
20         #mkdir $pkgdir/usr
21         #mv $pkgdir/safecat-tmp/* $pkgdir/usr
22         #rmdir $pkgdir/safecat-tmp