aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pony-stable/APKBUILD
blob: 24c20a60a09585d4715ac5c0cd38bce58eddac7b (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
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=pony-stable
pkgver=0.1.1
pkgrel=0
pkgdesc="A simple dependency manager for the Pony language"
url="https://github.com/ponylang/pony-stable"
arch="x86_64"  # limited by ponyc
license="BSD-2-Clause"
options="!check"  # no tests provided
makedepends="ponyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/ponylang/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	install -m 755 -D build/release/stable "$pkgdir"/usr/bin/stable
}

sha512sums="7d1638356c846ef1367774d2decf80192fefce73d4bfdd8202fbaf2a87875362dbcb65a5fe254dda239edd1f89c856634380d9c19a640d9b6eb7e19d063d102b  pony-stable-0.1.1.tar.gz"