summaryrefslogtreecommitdiff
path: root/user/gmime/APKBUILD
diff options
context:
space:
mode:
authorLuis Ressel <aranea@aixah.de>2019-03-12 20:33:31 +0100
committerLuis Ressel <aranea@aixah.de>2019-03-12 20:35:45 +0100
commit2937b5a1e251b2f245f24f625ed686e0ceec2b94 (patch)
tree8d9d221f9234b079d74bb7a9a720a9dcb5f59a95 /user/gmime/APKBUILD
parent38ca9a607e5957cc0e62d69885e17eaab734ef47 (diff)
downloadpackages-2937b5a1e251b2f245f24f625ed686e0ceec2b94.tar.gz
packages-2937b5a1e251b2f245f24f625ed686e0ceec2b94.tar.bz2
packages-2937b5a1e251b2f245f24f625ed686e0ceec2b94.tar.xz
packages-2937b5a1e251b2f245f24f625ed686e0ceec2b94.zip
user/gmime: New package
Diffstat (limited to 'user/gmime/APKBUILD')
-rw-r--r--user/gmime/APKBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/user/gmime/APKBUILD b/user/gmime/APKBUILD
new file mode 100644
index 000000000..37f1bc7ee
--- /dev/null
+++ b/user/gmime/APKBUILD
@@ -0,0 +1,48 @@
+# Contributor: Luis Ressel <aranea@aixah.de>
+# Maintainer: Luis Ressel <aranea@aixah.de>
+pkgname=gmime
+pkgver=3.2.3
+pkgrel=0
+pkgdesc="MIME utility library"
+url="https://developer.gnome.org/gmime/"
+arch="all"
+license="LGPL-2.1+"
+depends=""
+depends_dev="gpgme-dev libidn2-dev zlib-dev"
+makedepends="$depends_dev"
+checkdepends="gnupg"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+ 3.2.3-broken-tests.patch"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-crypto \
+ --disable-vala \
+ --with-gpgme \
+ --with-libidn
+ make
+}
+
+prepare() {
+ default_prepare
+ autoreconf -vif
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="abaf9059baf0c045d5b62757953ee2fa0779462eb32142bb41be40c376fc7ac2b3e4a56fd66177fbbe1dca35c6168a251542b14a844125c2cfcc9a99888179b4 gmime-3.2.3.tar.xz
+443e768e15eb25116368739957ac31a30cd10a921c113b76af1a0baf0c690ca1346463577289d24ce8f46deb014dd014040033bc1f3d02d8a2190c70dd4c2a74 3.2.3-broken-tests.patch"