aboutsummaryrefslogtreecommitdiffstats
path: root/main/mailcap
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-23 03:10:41 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-23 03:13:40 +0100
commitd891968e86c12711d78e4b7cb8a0cdeb49c49b8a (patch)
treefe22ebb17228434688a9b6058bb755c80cba299b /main/mailcap
parent925838d04f83bfe0fb55dfc9f6727515de88cc68 (diff)
downloadaports-d891968e86c12711d78e4b7cb8a0cdeb49c49b8a.tar.bz2
aports-d891968e86c12711d78e4b7cb8a0cdeb49c49b8a.tar.xz
main/mailcap: upgrade to 2.1.46
Diffstat (limited to 'main/mailcap')
-rw-r--r--main/mailcap/APKBUILD36
1 files changed, 10 insertions, 26 deletions
diff --git a/main/mailcap/APKBUILD b/main/mailcap/APKBUILD
index 5edf3b6f13..dad1e8fc8c 100644
--- a/main/mailcap/APKBUILD
+++ b/main/mailcap/APKBUILD
@@ -1,38 +1,22 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mailcap
-pkgver=2.1.44
+pkgver=2.1.46
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"
-}
+source="https://fedorahosted.org/released/$pkgname/$pkgname-$pkgver.tar.xz"
+builddir="$srcdir/$pkgname-$pkgver"
package() {
- cd "$_builddir"
- make install DESTDIR="$pkgdir"
+ cd "$builddir"
+
+ make install DESTDIR="$pkgdir" || return 1
+ rm -Rf "$pkgdir"/etc/nginx
}
-md5sums="2bd79106ed2ee98d3797d4e4cd017fcc mailcap-2.1.44.tar.xz"
-sha256sums="80fe94c34286379a5a72f23f9e2c7364cb33c3083bdc9dbd034c2eebd4db4472 mailcap-2.1.44.tar.xz"
-sha512sums="ad1af42d6d3709f526b887bb0e21f34610bed5bc73412ce8a1c2d5427fd9a1b6c67f7a67034e10f603444d2f033d8ee925618ca72426e21436719e1ac469626c mailcap-2.1.44.tar.xz"
+md5sums="d865a1baf574ae5d309f5c1f79315800 mailcap-2.1.46.tar.xz"
+sha256sums="c68eb3b531d731476d5980c9b7cc287bd64c2a13bec5a537009a2c4af63f9bb0 mailcap-2.1.46.tar.xz"
+sha512sums="076be489024b5e9bd9835f4a7dbfcd49ccd4dd99de4087b4f6a03bee67fc3225aa934f0d70f73fb5e9109acb663493cfd694fb28bf92a42abeb6d194925817d2 mailcap-2.1.46.tar.xz"