diff options
Diffstat (limited to 'testing/libgdiplus/APKBUILD')
-rw-r--r-- | testing/libgdiplus/APKBUILD | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/testing/libgdiplus/APKBUILD b/testing/libgdiplus/APKBUILD index 9f75f5fd32..6369a7ebe8 100644 --- a/testing/libgdiplus/APKBUILD +++ b/testing/libgdiplus/APKBUILD @@ -6,7 +6,7 @@ pkgrel=1 pkgdesc="An Open Source Implementation of the GDI+ API" url="https://www.mono-project.com/" arch="all" -license="LGPL" +license="MIT" depends="" depends_dev="tiff-dev cairo-dev libexif-dev glib-dev" makedepends="$depends_dev" @@ -14,19 +14,10 @@ install="" subpackages="$pkgname-dev" source="https://download.mono-project.com/sources/libgdiplus/libgdiplus-$pkgver.tar.gz" -_builddir="$srcdir"/libgdiplus-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/libgdiplus-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -34,14 +25,13 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } sha512sums="22ade1e300f3d24407875db1c44db5079497a30cba7018a1f3c1f85070140c511e92dbe40c0f306f6adc7a3fb15f05674a86bb2644216c3e06845c3b7a47b27c libgdiplus-5.6.tar.gz" |