aboutsummaryrefslogtreecommitdiffstats
path: root/community/gmime/APKBUILD
blob: ae20711fc64c769f96b20355fe2fe5066305c194 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gmime
pkgver=3.2.5
pkgrel=0
pkgdesc="Glorious MIME Utility Library"
url="https://github.com/jstedfast/gmime"
arch="all"
license="LGPL-2.1-or-later"
makedepends="glib-dev gpgme-dev libnsl-dev libidn2-dev vala gobject-introspection-dev"
options="!check" # https://github.com/jstedfast/gmime/issues/63
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/gmime/${pkgver%.*}/gmime-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--enable-vala
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="37488da84f1befb37a0dff9465e9f786670dfb7248adbbc1f227dcc0e80bcd4ee7cd239abeab2b52e8ded6ea7f8aa432bcc0461b379282dacd6ee4f867aa049d  gmime-3.2.5.tar.xz"