summaryrefslogblamecommitdiff
path: root/user/lua-yaml/APKBUILD
blob: f252b3a7bdfc515058ca4ab821982b3853552024 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                             
                                    


                                 












                                                                                                                                                                    
# 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"