diff options
Diffstat (limited to 'main/vblade/APKBUILD')
-rw-r--r-- | main/vblade/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/main/vblade/APKBUILD b/main/vblade/APKBUILD new file mode 100644 index 0000000000..383b15c199 --- /dev/null +++ b/main/vblade/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=vblade +pkgver=20 +pkgrel=0 +pkgdesc="virtual AoE blade server" +url="http://aoetools.sourceforge.net/" +license="GPL" +depends= +makedepends= +install= +subpackages= +source="http://downloads.sourceforge.net/aoetools/$pkgname-$pkgver.tgz" +arch="all" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" +} + +build() { + cd "$_builddir" + make || return 1 +} + +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 +} + +md5sums="3c80e4a6bc7d66ae0c235b88cb44bd59 vblade-20.tgz" |