aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mailcap/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mailcap/APKBUILD')
-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"