diff options
author | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-12-25 21:29:28 +0000 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-12-25 21:29:52 +0000 |
commit | a015f5984f5a48eed9b044b185a53405e7021bc4 (patch) | |
tree | 9ee23683e0f881c8de673c3be6134463e9539d1b | |
parent | 55ebadb9a88afafad3c5d93c8b13d504dc8cfd0e (diff) | |
download | aports-a015f5984f5a48eed9b044b185a53405e7021bc4.tar.bz2 aports-a015f5984f5a48eed9b044b185a53405e7021bc4.tar.xz |
community/darktable: modernize
-rw-r--r-- | community/darktable/APKBUILD | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/community/darktable/APKBUILD b/community/darktable/APKBUILD index ae77131969..51a6b6a4b2 100644 --- a/community/darktable/APKBUILD +++ b/community/darktable/APKBUILD @@ -6,7 +6,7 @@ pkgrel=0 pkgdesc="an open source photography workflow application and raw developer" url="https://www.darktable.org/" arch="x86 x86_64 aarch64" -license="GPL-3.0" +license="GPL-3.0-or-later" makedepends=" cmake colord-dev @@ -41,12 +41,9 @@ source="https://github.com/darktable-org/darktable/releases/download/release-${p fix-ifunc-multiarch.patch null-char-pointer-sentinel.patch " -builddir="$srcdir/$pkgname-${pkgver/_/~}" prepare() { - default_prepare || return 1 - - cd "$builddir" + default_prepare mkdir -p build } @@ -57,7 +54,7 @@ build() { -DBUILD_SHARED_LIBS=True \ -DCMAKE_BUILD_TYPE=Release \ -DBINARY_PACKAGE_BUILD=ON \ - .. || return 1 + .. make } |