aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-02-16 13:55:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-04-11 16:07:34 +0000
commitd5c72fb673f7e8330c34781f7346f295e6739238 (patch)
tree1883f0d7b9a2acfd67d91ae986c6e08f40fca6c1
parentf5a1d6dda0910e46cfa06bf159712cf4a6f91ecd (diff)
downloadaports-d5c72fb673f7e8330c34781f7346f295e6739238.tar.bz2
aports-d5c72fb673f7e8330c34781f7346f295e6739238.tar.xz
main/gmime: upgrade to 3.2.0 and modernize
-rw-r--r--main/gmime/APKBUILD31
1 files changed, 8 insertions, 23 deletions
diff --git a/main/gmime/APKBUILD b/main/gmime/APKBUILD
index 1c8ee4372b..c7d0588de5 100644
--- a/main/gmime/APKBUILD
+++ b/main/gmime/APKBUILD
@@ -1,47 +1,32 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gmime
-pkgver=2.6.20
+pkgver=3.2.0
pkgrel=0
pkgdesc="glib mime library"
url="http://spruce.sourceforge.net/gmime/"
arch="all"
license="LGPL"
-depends=
depends_dev="glib-dev gpgme-dev"
makedepends="$depends_dev intltool"
-install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.acc.umu.se/pub/GNOME/sources/gmime/${pkgver%.*}/gmime-$pkgver.tar.xz"
-_builddir="${srcdir}/${pkgname}-${pkgver}"
-prepare() {
- local i
- cd "$_builddir"
- update_config_sub || return 1
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --sysconfdir=/etc \
- || return 1
- make || return 1
+ --sysconfdir=/etc
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="82612c42f39f6e75273a92e6de44554f gmime-2.6.20.tar.xz"
-sha256sums="e0a170fb264c2ae4cecd852f4e7aaddb8d58e8f3f0b569ce2d2a4704f55bdf65 gmime-2.6.20.tar.xz"
-sha512sums="8a43cc57fb2884a0d0979dd42775aa0946d11f460beb33fc7f7a166bcabb81b9590426072eeb606e2d5423ac4d68ff73d619fee96f33669f62069fcccfaf0a10 gmime-2.6.20.tar.xz"
+sha512sums="bb45f34b80ff237478602ff05ce0f736373185b7aa260c17aaf00a519d0b75ce9e24b0f6b256ce0f17b613e9f67174c54e302411110bf5f143947591f5f5aa43 gmime-3.2.0.tar.xz"