aboutsummaryrefslogtreecommitdiffstats
path: root/community/bam/APKBUILD
blob: 84b7a16e38645d8bc60e6a59aab72aab3ec63ee9 (plain)
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
26
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
pkgname=bam
pkgver=0.5.1
pkgrel=1
pkgdesc="Fast and flexible build system using Lua"
arch="all !s390x" #luajit unavail on excluded arches
url="https://github.com/matricks/bam"
makedepends="lua5.3-dev luajit-dev"
license='ZLIB'
option="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/matricks/bam/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	sh make_unix.sh
}

package() {
	cd "$builddir"
	install -Dm755 bam "$pkgdir"/usr/bin/bam
	install -Dm755 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

sha512sums="e6f1b3daad6073c58b0e3cbf836bb0a6b66f0c36532d6e6eca9949239ab8b584cc88f892cce6f74974e370a8a688f33a95dde86dd65cc1790e49e5f8aeab0fef  bam-0.5.1.tar.gz"