summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ee8fb08a162a74422f8eb7d3918a2c3ebc909a56 (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
# Maintainer: Austin Haedicke <austin.haedicke@gamil.com>
# https://github.com/savagezen/pkgbuild/tree/master/dnd-tools

pkgname=dnd-tools
pkgver=98954f0
pkgrel=1
pkgdesc='Interactive CLI tools for Dungeons and Dragons 5e'
depends=('python')
makedepends=('git' 'python')
arch=('i686' 'x86_64')
url='https://github.com/savagezen/dnd-tools'
license=('AGPLv3')
conflicts=('dnd-tools')
provides=('dnd-tools')
source=(git://github.com/savagezen/dnd-tools.git)
sha256sums=('SKIP')

pkgver() {
  cd ${pkgname}
  git rev-parse --short HEAD
}

package() {
  cd ${srcdir}/${pkgname} 
  python setup.py install --root="$pkgdir"
  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}