blob: aa196cb791ecb5b1b032d9521a919cc129f72da2 (
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
|
# 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://pldaniels.com/$pkgname"
arch="all"
license="custom:altermime"
# no check provided by upstream
options="!check"
subpackages="$pkgname-doc"
source="$url/$pkgname-$pkgver.tar.gz
makefile-flags.patch"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
make
}
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
}
sha512sums="9e5082abc72a0f0d77ee947c61c654ff7f90151b7d7a7e36819e85420dbd9e7cfdb4d053cebcbfd629380aab3d9998ed802a59212ac5c433d50e006b1558dc5f altermime-0.3.11.tar.gz
e80bcedd3aa7aa921d219853dad44ed9060d93b6620589dbcf56346da14d73bb6dea4de2956c97f5e6646e4b989363a881e6340bd0e92cad5b3694ab4afbac29 makefile-flags.patch"
|