diff options
author | prspkt <prspkt@protonmail.com> | 2019-03-15 19:28:25 +0200 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-03-15 20:59:11 +0200 |
commit | 1f929512c2348adc30c0d5e4faee131fa551f799 (patch) | |
tree | fbe5fd2ddd5923641e10436f981e93e8bdd4aa84 /testing/libgdiplus | |
parent | 60f378d30384d94593733075afa355352ce3d779 (diff) | |
download | aports-1f929512c2348adc30c0d5e4faee131fa551f799.tar.bz2 aports-1f929512c2348adc30c0d5e4faee131fa551f799.tar.xz |
testing/libgdiplus: clarify license, modernize
Diffstat (limited to 'testing/libgdiplus')
-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" |