aboutsummaryrefslogtreecommitdiffstats
path: root/main/vblade/APKBUILD
blob: 4bfde558e0b1cb7adad57d3215f0bc0f90d72371 (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
26
27
28
29
30
# Contributor: Pedro Filipe <xpecex@outlook.com>
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=vblade
pkgver=24
pkgrel=0
pkgdesc="A virtual AoE blade server"
url="https://github.com/OpenAoE/vblade"
arch="all"
license="GPL-2.0-only"
depends=""
makedepends="linux-headers"
install=""
subpackages="$pkgname-doc"
source="https://github.com/OpenAoE/$pkgname/archive/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgname-$pkgver

build() {
	cd "$builddir"
	make CFLAGS="$CFLAGS"
}

package() {
	cd "$builddir"
	mkdir -p "$pkgdir"/usr/sbin
	mkdir -p "$pkgdir"/usr/share/man/man8
	make sbindir="$pkgdir"/usr/sbin mandir="$pkgdir"/usr/share/man install
}

sha512sums="d5db85581db119b83a129fc00635d37b6d8fccfaf685dc58c68773c7299f7fe4e01735ec7fea6a0494a0cf2bc1400d643a720b55e4d6de37a0b8ec15d00d1f2a  vblade-24.tar.gz"