summaryrefslogtreecommitdiff
path: root/main/altermime/APKBUILD
blob: 6d50a747532c755fda746e27969eef0bb66ff04a (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
35
36
37
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=altermime
pkgver=0.3.11
pkgrel=0
pkgdesc="alterMIME - MIME encoded email pack alteration tool"
url="http://www.pldaniels.com/$pkgname"
arch="all"
license="custom:altermime"
depends=
makedepends=
install=
subpackages="$pkgname-doc"
source="$url/$pkgname-$pkgver.tar.gz
	makefile-flags.patch"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	make || return 1
}

package() {
	cd "$builddir"
	install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname || return 1
	install -Dm644 LICENCE \
		"$pkgdir"/usr/share/licenses/$pkgname/LICENCE || return 1
	install -Dm644 README \
		"$pkgdir"/usr/share/doc/$pkgname/README || return 1
}
md5sums="429c9ea27712870944faf8e36ef3ece8  altermime-0.3.11.tar.gz
e93152f7c68b7e0e55ee7c5c8537da85  makefile-flags.patch"
sha256sums="475ed2710587d24f11d00dafa5c3f6df8ac79e13b8c5d54d2ea35576b579fd97  altermime-0.3.11.tar.gz
f71d395ab60ebd8e0deccecf3255c5c29bd110ad88e90fb04949850ce47b360c  makefile-flags.patch"
sha512sums="9e5082abc72a0f0d77ee947c61c654ff7f90151b7d7a7e36819e85420dbd9e7cfdb4d053cebcbfd629380aab3d9998ed802a59212ac5c433d50e006b1558dc5f  altermime-0.3.11.tar.gz
e80bcedd3aa7aa921d219853dad44ed9060d93b6620589dbcf56346da14d73bb6dea4de2956c97f5e6646e4b989363a881e6340bd0e92cad5b3694ab4afbac29  makefile-flags.patch"