summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Neumann2019-05-27 11:07:46 +0200
committerRichard Neumann2019-05-27 11:07:46 +0200
commitfd2968c3bb4ae672bbc85b1caa9916f22cad81fd (patch)
tree8d6ba5bc83ab8c88226f400641bb420bcb9f88d5
parent54437a49a7c1d566583e912843a6ec348596d343 (diff)
downloadaur-fd2968c3bb4ae672bbc85b1caa9916f22cad81fd.tar.gz
Init.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6f04432a3df..1e63692f52d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,4 +1,4 @@
-pkgbase = mcipc
+pkgbase = python-mcipc
pkgdesc = Python 3 library and scripts for the RCON and Query protocol
pkgver = 1.0.2
pkgrel = 1
@@ -14,5 +14,5 @@ pkgbase = mcipc
source = mcipc::git+https://github.com/coNQP/mcipc.git#tag=1.0.2
md5sums = SKIP
-pkgname = mcipc
+pkgname = python-mcipc
diff --git a/PKGBUILD b/PKGBUILD
index b95fea6b159..f52e9ce8140 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,20 @@
# Maintainer: Richard Neumann aka. schard <mail at richard dash neumann period de>
-pkgname='mcipc'
+_pkgbase='mcipc'
+pkgname="python-${_pkgbase}"
pkgver=1.0.2
pkgrel=1
pkgdesc='Python 3 library and scripts for the RCON and Query protocol'
arch=('any')
-url="https://github.com/coNQP/${pkgname}"
+url="https://github.com/coNQP/${_pkgbase}"
license=('GPLv3')
depends=('python' 'python-docopt')
makedepends=('git' 'python' 'python-setuptools' 'python-setuptools-git')
-source=("${pkgname}::git+${url}.git#tag=${pkgver}")
+source=("${_pkgbase}::git+${url}.git#tag=${pkgver}")
md5sums=('SKIP')
package() {
- cd "${srcdir}/${pkgname}"
+ cd "${srcdir}/${_pkgbase}"
python setup.py install --root "${pkgdir}" --optimize=1
}