diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-09-27 12:06:24 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-09-27 12:06:30 +0000 |
commit | 22a99b83ead806a18e1894959f9467c690a4c682 (patch) | |
tree | 3ca179eaf9d708bca2f8e6fb329349d02bac4a6d /testing/swaks | |
parent | beef375387235ef2f78a85d8e286360f1de49047 (diff) | |
download | aports-22a99b83ead806a18e1894959f9467c690a4c682.tar.bz2 aports-22a99b83ead806a18e1894959f9467c690a4c682.tar.xz |
testing/swaks: new aport
Diffstat (limited to 'testing/swaks')
-rw-r--r-- | testing/swaks/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/swaks/APKBUILD b/testing/swaks/APKBUILD new file mode 100644 index 0000000000..411a43afe6 --- /dev/null +++ b/testing/swaks/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=swaks +pkgver=20130209.0 +pkgrel=0 +pkgdesc="Swiss Army Knife for SMTP" +url="http://www.jetmore.org/john/code/swaks/" +arch="noarch" +license="GPL2" +depends="perl" +install="" +subpackages="$pkgname-doc" +source="http://www.jetmore.org/john/code/swaks/files/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + return 0 +} + +package() { + cd "$builddir" + install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname|| return 1 +} + +doc() { + cd "$builddir" + mkdir -p $subpkgdir/usr/share/doc/$pkgname + mv doc/* $subpkgdir/usr/share/doc/$pkgname +} + +md5sums="281af4f487ada31cda1408a19e8da5b4 swaks-20130209.0.tar.gz" +sha256sums="0b0967256dca82776f610f1db862bc47644b236f325fa48cbdb2651babd41f7c swaks-20130209.0.tar.gz" +sha512sums="bf3c639f2c227d8219d5bc98a3d3519886471168c16e38d036283eeb1bb786c80bb80a648637150b3eb1903ef0c0d01bc37fd7b4f55af66a20f7bef18067b118 swaks-20130209.0.tar.gz" |