aboutsummaryrefslogtreecommitdiffstats
path: root/community/ilmbase/APKBUILD
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-09-19 15:53:25 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-09-19 15:53:25 +0000
commitdafccc9cc11016559bc3047bb14a18d5e39e58c8 (patch)
treeb6d8d404b7c32bc88e4bf45c6b08d0c25edadb67 /community/ilmbase/APKBUILD
parent6bfb8c4e262bbce06891ac797b47e6d583570097 (diff)
downloadaports-dafccc9cc11016559bc3047bb14a18d5e39e58c8.tar.bz2
aports-dafccc9cc11016559bc3047bb14a18d5e39e58c8.tar.xz
community/ilmbase: modernize and add check
Diffstat (limited to 'community/ilmbase/APKBUILD')
-rw-r--r--community/ilmbase/APKBUILD20
1 files changed, 10 insertions, 10 deletions
diff --git a/community/ilmbase/APKBUILD b/community/ilmbase/APKBUILD
index 2d8973749d..7509491985 100644
--- a/community/ilmbase/APKBUILD
+++ b/community/ilmbase/APKBUILD
@@ -2,20 +2,19 @@
# Maintainer: Mark Riedesel <mark+alpine@klowner.com>
pkgname=ilmbase
pkgver=2.2.0
-pkgrel=1
+pkgrel=2
pkgdesc="Base libraries from ILM for OpenEXR"
url="http://www.openexr.com"
arch="all"
license="BSD"
-depends=""
makedepends="bash linux-headers"
subpackages="$pkgname-dev"
source="http://download.savannah.nongnu.org/releases/openexr/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
- default_prepare || return 1
- update_config_sub || return 1
+ default_prepare
+ update_config_sub
}
build() {
@@ -26,16 +25,17 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
+check() {
+ cd "$builddir"
+ make check
+}
package() {
make DESTDIR="$pkgdir" \
- -C "$builddir" install || return 1
+ -C "$builddir" install
}
-md5sums="b540db502c5fa42078249f43d18a4652 ilmbase-2.2.0.tar.gz"
-sha256sums="ecf815b60695555c1fbc73679e84c7c9902f4e8faa6e8000d2f905b8b86cedc7 ilmbase-2.2.0.tar.gz"
sha512sums="0bbad14ed2bd286dff3987b16ef8631470211da54f822cb3e29b7931807216845ded81c9bf41fd2d22a8b362e8b9904a5450f61f5a242e460083e86b846513f1 ilmbase-2.2.0.tar.gz"