summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e1e2d06a5cf46e894f4974659497b42e39c320e7 (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: Jonathan Liu <net147@gmail.com>
pkgname=vblade
pkgver=24
pkgrel=1
pkgdesc="Virtual EtherDrive(R) blade AoE target"
arch=('i686' 'x86_64')
url="https://github.com/OpenAoE/vblade"
license=('GPL2')
depends=('bash')
source=("git://github.com/OpenAoE/vblade.git#tag=vblade-${pkgver}")
md5sums=('SKIP')

build() {
  cd "$srcdir/$pkgname"
  make
}

package() {
  cd "$srcdir/$pkgname"
  install -d "$pkgdir/usr/sbin"
  install -d "$pkgdir/usr/share/man/man8"
  make prefix="$pkgdir/usr" install
  mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin"
}

# vim:set ts=2 sw=2 et: