summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 97c481effd5192c590964cedd7d81f251603a9a9 (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
# Maintainer: Richard Neumann aka. schard <mail at richard dash neumann period de>

_pkgbase='mcwb'
pkgname="python-${_pkgbase}"
pkgver=0.0.8
pkgrel=1
pkgdesc='Python 3 library for Minecraft world manipulation via RCON commands'
arch=('any')
url="https://github.com/coNQP/${_pkgbase}"
license=('GPLv3')
depends=('python' 'python-mcipc' 'python-setuptools')
makedepends=('git' 'python-setuptools-scm')
source=("${_pkgbase}::git+${url}.git#tag=${pkgver}")
md5sums=('SKIP')

build() {
    cd "${srcdir}/${_pkgbase}"
    python setup.py build
}

package() {
    cd "${srcdir}/${_pkgbase}"
    python setup.py install --root "${pkgdir}" --optimize=1 --skip-build
}