aboutsummaryrefslogtreecommitdiffstats
path: root/main/bam/APKBUILD
blob: 5e2e6938e4f37cd055a3c5209ecbe10e19233686 (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
27
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>

pkgname=bam
pkgver=0.5.0
pkgrel=0
pkgdesc='Fast and flexible build system using Lua'
arch=all
url=http://github.com/matricks/bam
license='ZLIB'
source="$pkgname-$pkgver.tar.gz::https://github.com/matricks/bam/archive/v$pkgver.tar.gz"

build() {
  cd "$srcdir"/$pkgname-$pkgver
  sh make_unix.sh || return 1
}

package() {
  cd "$srcdir"/$pkgname-$pkgver
  install -Dm755 bam "$pkgdir"/usr/bin/bam || return 1
  install -Dm755 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING \
    || return 1
}

md5sums="08db8dfc32fb817947c39000092a55d4  bam-0.5.0.tar.gz"
sha256sums="16c0bccb6c5dee62f4381acaa004dd4f7bc9a32c10d0f2a40d83ea7e2ae25998  bam-0.5.0.tar.gz"
sha512sums="e5af8789b6d6617be424481111ed9838c6dbe35bc41010608ef654810c9ff4d6ab15aafb904a808ddb4f1009b5d11232dd67160abda51cf3dd970a9557af96f1  bam-0.5.0.tar.gz"