aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mailcap
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-17 19:44:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-17 19:44:35 +0000
commita1d3965f1a8cbbe95753bd9f19b27f1ae7dc46bd (patch)
treef6babc0c7ade52dc2e010b49e89f14c1d5e9d2e1 /testing/mailcap
parent86bcd35afb53ef0df4593ed5879e5e4e045d45f4 (diff)
downloadaports-a1d3965f1a8cbbe95753bd9f19b27f1ae7dc46bd.tar.bz2
aports-a1d3965f1a8cbbe95753bd9f19b27f1ae7dc46bd.tar.xz
testing/mailcap: new aport
Helper application and MIME type associations for file types http://git.fedorahosted.org/git/mailcap.git
Diffstat (limited to 'testing/mailcap')
-rw-r--r--testing/mailcap/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/mailcap/APKBUILD b/testing/mailcap/APKBUILD
new file mode 100644
index 0000000000..141ecfb0b3
--- /dev/null
+++ b/testing/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"