aboutsummaryrefslogtreecommitdiffstats
path: root/testing/swaks/APKBUILD
blob: b6458380f5375892d5a171d22a9e6076073f91d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=swaks
pkgver=20170101.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="d01a94a510de0c8f56605d4e857969b9  swaks-20170101.0.tar.gz"
sha256sums="84e62dd0de4a56d5daebe25afd16835bd8d3c7f39caa5e6bc7d86a056925915e  swaks-20170101.0.tar.gz"
sha512sums="f4fa04d0fdea3c91958341107c74b9afb2df8bfb00b6a7e018c34c9ccd501092037360266bda21f38bf558efe15095d677b1397031151707bc1fe7b4d8b8478b  swaks-20170101.0.tar.gz"