aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libgdiplus/APKBUILD
blob: ea174d836709e099d481381346ac31e163b8a983 (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
34
35
36
37
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=libgdiplus
pkgver=5.6.1
pkgrel=0
pkgdesc="An Open Source Implementation of the GDI+ API"
url="https://www.mono-project.com/"
arch="all"
license="MIT"
depends=""
depends_dev="tiff-dev cairo-dev libexif-dev glib-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="https://download.mono-project.com/sources/libgdiplus/libgdiplus-$pkgver.tar.gz"

builddir="$srcdir"/libgdiplus-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

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

sha512sums="f1e477e4cbdd83f15bd8edc0feb975399c3eca042cafd1795a018f412b88ad5eb82d2cb0852d2009fdaa6f17d1c62c6b81340578f00eccc2e98ac9debe4a748e  libgdiplus-5.6.1.tar.gz"