aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2020-08-02 01:25:19 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-08-02 21:05:24 +0000
commit4f216418e1b01634f0593d8fa52eddb7fd746872 (patch)
treec398f5e49eb1846f494b44a43ef70daaed8441fe
parentba6807e7470ba7b5b5b5ae8206523d06fb0e2338 (diff)
downloadaports-4f216418e1b01634f0593d8fa52eddb7fd746872.tar.gz
aports-4f216418e1b01634f0593d8fa52eddb7fd746872.tar.bz2
aports-4f216418e1b01634f0593d8fa52eddb7fd746872.tar.xz
community/ilmbase: modernize
- add -static subpackage - update urls to use https - use SPDX license identifier - fix linter warnings
-rw-r--r--community/ilmbase/APKBUILD21
1 files changed, 9 insertions, 12 deletions
diff --git a/community/ilmbase/APKBUILD b/community/ilmbase/APKBUILD
index 34dfc241a4..fb5d40a18a 100644
--- a/community/ilmbase/APKBUILD
+++ b/community/ilmbase/APKBUILD
@@ -2,15 +2,14 @@
# Maintainer: Mark Riedesel <mark+alpine@klowner.com>
pkgname=ilmbase
pkgver=2.2.0
-pkgrel=4
+pkgrel=5
pkgdesc="Base libraries from ILM for OpenEXR"
-url="http://www.openexr.com"
+url="https://www.openexr.com/"
arch="all"
-license="BSD"
+license="BSD-3-Clause"
makedepends="bash linux-headers"
-subpackages="$pkgname-dev"
-source="http://download.savannah.nongnu.org/releases/openexr/$pkgname-$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-$pkgver"
+subpackages="$pkgname-static $pkgname-dev"
+source="https://download.savannah.nongnu.org/releases/openexr/ilmbase-$pkgver.tar.gz"
prepare() {
default_prepare
@@ -18,9 +17,8 @@ prepare() {
}
build() {
- cd "$builddir"
- CONFIG_SHELL=/bin/bash /bin/bash \
- ./configure \
+ CONFIG_SHELL=/bin/bash \
+ /bin/bash ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
@@ -32,12 +30,11 @@ build() {
check() {
[ "$CARCH" != x86 ] || return 0
- cd "$builddir"
make check
}
+
package() {
- make DESTDIR="$pkgdir" \
- -C "$builddir" install
+ make DESTDIR="$pkgdir" -C "$builddir" install
}
sha512sums="0bbad14ed2bd286dff3987b16ef8631470211da54f822cb3e29b7931807216845ded81c9bf41fd2d22a8b362e8b9904a5450f61f5a242e460083e86b846513f1 ilmbase-2.2.0.tar.gz"