summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRubenKelevra2020-03-02 23:06:01 +0100
committerRubenKelevra2020-03-02 23:06:01 +0100
commit8bf39377fcd76a6f1a42657876c7508f2b2586be (patch)
tree360e7aa59be4eef80c895b7a47d6aebd6382ddd7
downloadaur-8bf39377fcd76a6f1a42657876c7508f2b2586be.tar.gz
initial import
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD22
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c9593c2e2f8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = python-baseconv
+ pkgdesc = Convert numbers from base 10 integers to base X strings and back again
+ pkgver = 1.2.1
+ pkgrel = 1
+ url = https://github.com/semente/python-baseconv
+ arch = any
+ license = python
+ depends = python
+ source = python-baseconv-1.2.1.tar.gz::https://github.com/semente/python-baseconv/archive/1.2.1.tar.gz
+ b2sums = 65499e46757260d15363cacd8519b62b6bc2a1d1f9bf17abe5a0a8065ca8fbe14639bf803c999139b7e3f850462340c9cc759840a2657ac3517851d6b361f5c4
+
+pkgname = python-baseconv
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b2aa0f16a1c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: RubenKelevra
+
+pkgname=python-baseconv
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="Convert numbers from base 10 integers to base X strings and back again"
+url="https://github.com/semente/python-baseconv"
+depends=('python')
+license=('python')
+arch=('any')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+b2sums=('65499e46757260d15363cacd8519b62b6bc2a1d1f9bf17abe5a0a8065ca8fbe14639bf803c999139b7e3f850462340c9cc759840a2657ac3517851d6b361f5c4')
+
+build() {
+ cd $srcdir/${pkgname}-${pkgver}
+ python setup.py build
+}
+
+package() {
+ cd $srcdir/${pkgname}-${pkgver}
+ python setup.py install --root="$pkgdir" --optimize=1
+}