summaryrefslogtreecommitdiff
path: root/user/gmime/APKBUILD
blob: 913f6801d2436a331a989807db232a7bdfed165e (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
34
35
36
37
38
39
40
41
42
43
44
45
46
# Contributor: Mira Ressel <aranea@aixah.de>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=gmime
pkgver=3.2.7
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"
checkdepends="gnupg"
makedepends="$depends_dev autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
	3.2.3-broken-tests.patch
	"

prepare() {
	default_prepare
	autoreconf -vif
}

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

check() {
	make check
}

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

sha512sums="2c8fecd6eb74c9e956c419ce111bef6280916ea3756a534b6b800a273f0fff260717cda7fefd4bd4c6ddb27973112ec6e73fa971fa74bb9aa04cfe587d45f10b  gmime-3.2.7.tar.xz
19395defdb4287cb0f605676b1431db4d218258e9c6183cc0bec49ceaf75e7966fb2a7e41529e80595d71306870d20424454ef4e9fb836a364f9d44df78fa96a  3.2.3-broken-tests.patch"