aboutsummaryrefslogtreecommitdiffstats
path: root/main/mailcap
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-04-04 23:09:54 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-04-04 23:09:54 +0300
commit43c6d5e443aa3b7473b1b298b32c30678fa0503a (patch)
treec551d2ff23904605f7339fc5b811ab09731ce231 /main/mailcap
parent014391b619e354e101385220254744047a762120 (diff)
downloadaports-43c6d5e443aa3b7473b1b298b32c30678fa0503a.tar.bz2
aports-43c6d5e443aa3b7473b1b298b32c30678fa0503a.tar.xz
main/mailcap: moved from testing
Diffstat (limited to 'main/mailcap')
-rw-r--r--main/mailcap/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/main/mailcap/APKBUILD b/main/mailcap/APKBUILD
new file mode 100644
index 0000000000..141ecfb0b3
--- /dev/null
+++ b/main/mailcap/APKBUILD
@@ -0,0 +1,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"