summaryrefslogtreecommitdiff
path: root/user/lua-yaml
diff options
context:
space:
mode:
authorAlyx Wolcott <alyx@malkier.net>2020-02-22 19:39:34 -0600
committerAlyx Wolcott <alyx@malkier.net>2020-02-22 19:39:34 -0600
commitd14e248d2b12a7b2299e9103d2d1fd06ad925469 (patch)
tree33c6c23560ffc60169d7b6a70808d6db746d0b5a /user/lua-yaml
parenta0cd65328e2226e261b58e516c48a700c2aafb5f (diff)
downloadpackages-d14e248d2b12a7b2299e9103d2d1fd06ad925469.tar.gz
packages-d14e248d2b12a7b2299e9103d2d1fd06ad925469.tar.bz2
packages-d14e248d2b12a7b2299e9103d2d1fd06ad925469.tar.xz
packages-d14e248d2b12a7b2299e9103d2d1fd06ad925469.zip
New packages: user/libgeoip, user/libmaxminddb, user/lua-yaml, user/yaml-cpp
Diffstat (limited to 'user/lua-yaml')
-rw-r--r--user/lua-yaml/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/user/lua-yaml/APKBUILD b/user/lua-yaml/APKBUILD
new file mode 100644
index 000000000..6c835554f
--- /dev/null
+++ b/user/lua-yaml/APKBUILD
@@ -0,0 +1,25 @@
+# Contributor: Alyx Wolcott <alyx@leuhta.com>
+# Maintainer: Alyx Wolcott <alyx@leuhta.com>
+pkgname=lua-yaml
+pkgver=6.2.4
+pkgrel=0
+pkgdesc="LibYAML binding for Lua"
+url="https://gvvaughan.github.io/lyaml/"
+arch="all"
+license="MIT"
+depends="lua5.3"
+makedepends="lua5.3-dev yaml-dev"
+options="!check"
+source="$pkgname-$pkgver.tar.gz::https://github.com/gvvaughan/lyaml/archive/v$pkgver.tar.gz"
+builddir="$srcdir/lyaml-$pkgver"
+
+build () {
+ ./build-aux/luke PREFOX=$pkgdir/usr VERSION="${pkgver}"
+}
+
+package() {
+ mkdir -p $pkgdir/usr
+ ./build-aux/luke PREFIX=$pkgdir/usr install
+}
+
+sha512sums="92dea86a3b1d648093d2134ea4c558432b0861942aa141359d1ca9d7bc55f33a62bb38e12fd653d69139e0a6f0ea6202a9e8c57f750a065d35f0dd674eacaf8a lua-yaml-6.2.4.tar.gz"