summaryrefslogtreecommitdiff
path: root/community/cksfv/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cksfv/PKGBUILD')
-rw-r--r--community/cksfv/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/community/cksfv/PKGBUILD b/community/cksfv/PKGBUILD
index da4ba0008..4365b3ed3 100644
--- a/community/cksfv/PKGBUILD
+++ b/community/cksfv/PKGBUILD
@@ -1,9 +1,10 @@
-# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
+# $Id: PKGBUILD 57202 2011-10-23 23:26:43Z andrea $
+# Maintainer: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: Wijnand Modderman <wijanand+aur@archlinux.nl>
pkgname=cksfv
pkgver=1.3.14
-pkgrel=1
+pkgrel=2
pkgdesc="SFV (Simple File Verification) Checker"
arch=('i686' 'x86_64')
url="http://zakalwe.virtuaalipalvelin.net/~shd/foss/cksfv/"
@@ -13,9 +14,13 @@ source=(http://zakalwe.fi/~shd/foss/cksfv/files/$pkgname-$pkgver.tar.gz)
md5sums=('2e15289753ea0b90b6ea86993f93b383')
build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr --package-prefix=$startdir/pkg
- make || return 1
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr --package-prefix=$pkgdir
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
make install
- chmod 644 $startdir/pkg/usr/share/man/man1/$pkgname.1
+ chmod 644 $pkgdir/usr/share/man/man1/$pkgname.1
}