summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f3d3f2add5ee5460278f39db792335f551267463 (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
28
29
30
31
32
33
34
35
# Maintainer: Buce <dmbuce@gmail.com>

pkgname=norbert
pkgver=0.5
pkgrel=2
pkgdesc="A command line NBT editor."
arch=(any)
url="https://github.com/DMBuce/norbert"
license=('GPL2')
groups=()
depends=(python python-nbt asciidoc)
makedepends=('git')
backup=()
options=()
install=
source=("$pkgname::git+https://github.com/DMBuce/$pkgname.git#tag=$pkgver")
#source=("$pkgname::git+ssh://git@mantrid/~/$pkgname.git#tag=$pkgver")
noextract=()
md5sums=(SKIP)

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

package() {
  cd "$srcdir/$pkgname"
  install -D -m755 norbert.py "$pkgdir/usr/bin/norbert"
  install -D -m755 vinbt "$pkgdir/usr/bin/vinbt"
  cd doc
  make mandir=/usr/share/man DESTDIR="$pkgdir" doc-install
}

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