diff options
Diffstat (limited to 'main/cutter')
-rw-r--r-- | main/cutter/APKBUILD | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/main/cutter/APKBUILD b/main/cutter/APKBUILD index 2234438dd..572acc5b2 100644 --- a/main/cutter/APKBUILD +++ b/main/cutter/APKBUILD @@ -2,28 +2,34 @@ # Maintainer: Michael Mason <ms13sp@gmail.com> pkgname=cutter pkgver=1.03 -pkgrel=3 -pkgdesc="A program that allows firewall administrators to abort TCP/IP connections." -url="http://www.lowth.com/cutter" +pkgrel=4 +pkgdesc="A program that allows firewall administrators to abort TCP/IP connections" +url="http://www.digitage.co.uk/digitage/software/linux-security/cutter" arch="all" -license="GPL" +license="GPL2" depends="" makedepends="" -install= +install="" subpackages="" -#source="http://www.lowth.com/cutter/software/$pkgname-$pkgver.tgz" -source="http://dev.alpinelinux.org/archive/cutter/cutter-$pkgver.tgz" +source="http://www.digitage.co.uk/digitage/files/cutter/$pkgname-$pkgver.tgz" -build() { - cd "$srcdir/$pkgname-$pkgver" - #no make install and no configure script +_builddir="$srcdir"/$pkgname-$pkgver - make || return 1 - - mkdir -p "$pkgdir"/usr/sbin/ +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} - install -m755 -D cutter "$pkgdir"/usr/sbin/cutter +build() { + cd "$_builddir" + make || return 1 +} +package() { + cd "$_builddir" + install -m755 -D $pkgname "$pkgdir"/usr/sbin/$pkgname || return 1 } md5sums="50093db9b64277643969ee75b83ebbd1 cutter-1.03.tgz" +sha256sums="4df4fac7c2208afafb279abb443005bf77d3dcf01af05fe1f2898213b9109615 cutter-1.03.tgz" +sha512sums="821e8abf496e22b86bdd855fb1c9c51648a276ebb572edd2ccb172ae7025a38794df37dfe153c1807785ecec279c34b9df5e2bcc2de582b3a88ee3776cf46eea cutter-1.03.tgz" |