aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-02 11:11:01 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-02 13:38:32 -0300
commitebba23758cc4edc7661b84e532ee479cb924e33c (patch)
tree18edc4b863fd3b17f6bbdb9a6ceaf8e463670a33
parent5f7faee855574435a5924b1cc148f17922369ee0 (diff)
downloadaports-ebba23758cc4edc7661b84e532ee479cb924e33c.tar.gz
aports-ebba23758cc4edc7661b84e532ee479cb924e33c.tar.bz2
aports-ebba23758cc4edc7661b84e532ee479cb924e33c.tar.xz
main/lua-yaml: modernize
-rw-r--r--main/lua-yaml/APKBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/main/lua-yaml/APKBUILD b/main/lua-yaml/APKBUILD
index 4a992b2bb8..928835427c 100644
--- a/main/lua-yaml/APKBUILD
+++ b/main/lua-yaml/APKBUILD
@@ -4,14 +4,12 @@
pkgname=lua-yaml
_pkgname=yaml
pkgver=1.1.2
-pkgrel=1
+pkgrel=2
pkgdesc="LibYaml binding for Lua"
url="http://yaml.luaforge.net"
arch="all"
license="MIT"
-depends=""
makedepends="cmake yaml-dev"
-subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/lubyk/$_pkgname/archive/REL-$pkgver.tar.gz
cmake.patch"
builddir="$srcdir/$_pkgname-REL-$pkgver"
@@ -34,10 +32,11 @@ build() {
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_SKIP_RPATH=TRUE \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
+ -DCMAKE_BUILD_TYPE=None \
-DLUA_INSTALL_DIR=/usr/share/lua/$lver \
-DLUA_INSTALL_BINDIR=/usr/lib/lua/$lver \
- "$builddir" || return 1
- make || return 1
+ "$builddir"
+ make
done
}