aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/sfic/APKBUILD43
1 files changed, 15 insertions, 28 deletions
diff --git a/main/sfic/APKBUILD b/main/sfic/APKBUILD
index f2c82edb0e..1a2f1a1379 100644
--- a/main/sfic/APKBUILD
+++ b/main/sfic/APKBUILD
@@ -1,57 +1,44 @@
-pkgdesc="Small and Simple File Integrity Checker"
+# Contributor:
+# Maintainer:
pkgname=sfic
pkgver=0.1.7
pkgrel=5
-depends=
+pkgdesc="Small and Simple File Integrity Checker"
+url="http://sfic.sourceforge.net/"
arch="all"
-license=GPL
+license="GPL"
+depends=""
makedepends="autoconf automake tdb-dev"
-depends=
-url=http://sfic.sourceforge.net
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
- $pkgname-0.1.7-signal.patch
+ sfic-0.1.7-signal.patch
limits.patch
automake.patch"
subpackages="$pkgname-doc"
-_builddir="$srcdir"/sfic-$pkgver
+builddir="$srcdir/$pkgname-$pkgver"
prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
- sed -i -e 's/^ /\t/' src/Makefile.am || return 1
+ default_prepare
+ sed -i -e 's/^ /\t/' src/Makefile.am
aclocal
autoconf
- automake --add-missing || return 1
+ automake --add-missing
}
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
- --prefix=/usr \
- || return 1
- make || return 1
+ --prefix=/usr
+ make
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$builddir"
make install DESTDIR="$pkgdir"
}
-md5sums="6197f7a1e8b0fc4887d4573f67b7bb81 sfic-0.1.7.tar.gz
-e0c284f8b4e355b3ea52927fb02e163a sfic-0.1.7-signal.patch
-c316f8ef8abf1be61d805017daed0956 limits.patch
-589e32798726f5da2c66eed34f178591 automake.patch"
-sha256sums="79b08df2a51adf334081482971b76f500c6b1763fed09959d1d9a33de9029525 sfic-0.1.7.tar.gz
-cbee58eb542f0ad8fb8cc9f71d8edca0f8827cb97ba27c8d5cc1acb295e13612 sfic-0.1.7-signal.patch
-788ed51e2f63ff41763bb9556635398163615356a070f6f7ac41fa7ba7bd47a7 limits.patch
-06a760b07d47f4ca6c3b4bc6ac7ea6fdeaccabd71edeb6d7c8c117686067589f automake.patch"
sha512sums="99c0d395922e2e243dd12a4ba84222e2b5b8a6de1e3d350f4e2dc4cba9c24511a249edcef161bf9eabe3a98491dff10e67c7dd7cf80f20f09611d24c1982645e sfic-0.1.7.tar.gz
f405b9c07160bd3db613fbf78caa5c898e2cee152e92f701783d99a310b6a50a00d313b8fba88d6308a165697fd12265739ecbfae413a39f3ab5120228efd66c sfic-0.1.7-signal.patch
efd77cb8820bd29d6206d8de7647d16da7615c9a97382eadbe03bb54525ae430147abbe2986e3a22439b5ef7ba9feb6080d85841262a8a03f0aff53fc0a0a501 limits.patch