summaryrefslogtreecommitdiff
path: root/unmaintained/gmime26/APKBUILD
blob: e3f461bed59490bdbf0b8400550eb6c45947e4ed (plain)
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=gmime26
pkgver=2.6.23
pkgrel=0
pkgdesc="A C/C++ MIME creation and parser library with support for S/MIME, PGP"
url="https://developer.gnome.org/gmime/"
arch="all"
license="LGPL-2.1-only"
depends_dev="gpgme-dev"
makedepends="$depends_dev glib-dev intltool vala gobject-introspection-dev"
options="!check" # iconv doesn't work on musl
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/gmime/${pkgver%.*}/gmime-$pkgver.tar.xz"

builddir="$srcdir/gmime-$pkgver"

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

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

sha512sums="2ff6718b7a555cd5b34848399f29c7d0aa5a15e1f3cb46e9258c499e874191ee00f41b737386805d3000bad34367d174a25c45d38ba90cba7902400e733afa14  gmime-2.6.23.tar.xz"