summaryrefslogtreecommitdiffstats
path: root/testing/mailcap/APKBUILD
blob: 141ecfb0b359b088649278a2102355c75af81ecd (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mailcap
pkgver=2.1.40
pkgrel=0
pkgdesc="Helper application and MIME type associations for file types"
url="http://git.fedorahosted.org/git/mailcap.git"
arch="noarch"
license="Public Domain and MIT"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="https://fedorahosted.org/released/mailcap/mailcap-$pkgver.tar.xz"

_builddir="$srcdir"/mailcap-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
}

package() {
	cd "$_builddir"
	make install DESTDIR="$pkgdir"
}

md5sums="f5141974b3f3a74ffdf0a2bfdfb81d03  mailcap-2.1.40.tar.xz"