summaryrefslogtreecommitdiff
path: root/user/lua-yaml
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-03-22 10:32:03 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-03-22 10:32:03 +0000
commitd75735671d090585c546dcbc5d3a0d2fd385f640 (patch)
treeef65a1dedefe0cd4eda29249341d93744499b0f0 /user/lua-yaml
parentf302f06f871507211336c195b110f14ea755c843 (diff)
parenta2d344c9aed453180f0fcd02b353fca2677ad5d9 (diff)
downloadpackages-d75735671d090585c546dcbc5d3a0d2fd385f640.tar.gz
packages-d75735671d090585c546dcbc5d3a0d2fd385f640.tar.bz2
packages-d75735671d090585c546dcbc5d3a0d2fd385f640.tar.xz
packages-d75735671d090585c546dcbc5d3a0d2fd385f640.zip
Merge branch 'powerdns-reqs' into 'master'
New packages: user/libgeoip, user/libmaxminddb, user/lua-yaml, user/yaml-cpp See merge request adelie/packages!403
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..f252b3a7b
--- /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"
+options="!check" # No tests, sweet.
+license="MIT"
+depends="lua5.3"
+makedepends="lua5.3-dev yaml-dev"
+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"