summaryrefslogtreecommitdiff
path: root/user/lua-yaml/APKBUILD
blob: 6c835554f3c264bd49f727d4db7a3a7b49d6eef1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"