diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-16 02:20:55 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-16 02:33:07 +0200 |
commit | 46f652b7239e1a1d47cdc959f23aac61cf00d770 (patch) | |
tree | f1dacb71f8713cd88eb998dd8f25fa0ca6cfdeac /testing | |
parent | cfee6c8fe0a7b42721305ca928d7791a9c8c2684 (diff) | |
download | aports-46f652b7239e1a1d47cdc959f23aac61cf00d770.tar.bz2 aports-46f652b7239e1a1d47cdc959f23aac61cf00d770.tar.xz |
testing/lua-rapidjson: modernize abuild
Diffstat (limited to 'testing')
-rw-r--r-- | testing/lua-rapidjson/APKBUILD | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/testing/lua-rapidjson/APKBUILD b/testing/lua-rapidjson/APKBUILD index b67b28b0e9..d210a0e17b 100644 --- a/testing/lua-rapidjson/APKBUILD +++ b/testing/lua-rapidjson/APKBUILD @@ -10,8 +10,7 @@ license="MIT" makedepends="cmake rapidjson-dev" subpackages="" source="$pkgname-$pkgver.tar.gz::https://github.com/xpol/$pkgname/archive/v$pkgver.tar.gz - disable-c-cxx-flag-march.patch - " + disable-c-cxx-flag-march.patch" builddir="$srcdir/$pkgname-$pkgver" _luaversions="5.1 5.2 5.3" @@ -21,7 +20,7 @@ for _v in $_luaversions; do done prepare() { - default_prepare || return 1 + default_prepare cd "$builddir" # Remove bundled rapidjson, use system package. @@ -42,9 +41,8 @@ build() { -DCMAKE_VERBOSE_MAKEFILE=ON \ -DBUILD_SHARED_LIBS=ON \ -DLUA_INCLUDE_DIR="$(pkg-config --variable=includedir lua$lver)" \ - -DLUA_RAPIDJSON_VERSION="$pkgver" \ - || return 1 - make || return 1 + -DLUA_RAPIDJSON_VERSION="$pkgver" + make done } |