summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a87c02039b81ac759f07c49f7a68bb7d99df1f7e (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

pkgname=dnd-tools
pkgver=84718f4
pkgrel=1
pkgdesc='Interactive CLI tools for Dungeons and Dragons 5e'
depends=('python>=3.6')
makedepends=('git' 'python')
arch=('i686' 'x86_64')
url='https://github.com/savagezen/dnd-tools'
license=('AGPLv3')
conflicts=('')
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
}