summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCaleb Maclennan2021-05-12 11:11:42 +0300
committerCaleb Maclennan2021-05-12 11:11:42 +0300
commit0e7ebb040829454e7cb4c08ad8618ad74c6d3c2e (patch)
treedaaa81ae9264e502ea887089a64b7c4c408f9681 /PKGBUILD
downloadaur-0e7ebb040829454e7cb4c08ad8618ad74c6d3c2e.tar.gz
Re-create python-plum
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..31d692b92dd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+
+_pipname=plum
+pkgname=python-${_pipname,,}
+pkgver=0.5.0
+pkgrel=1
+pkgdesc='Pack/Unpack Memory'
+arch=('any')
+url="https://$_pipname-py.readthedocs.io/en/latest/"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://gitlab.com/dangass/$_pipname/-/archive/$pkgver/$_pipname-$pkgver.tar.bz2")
+sha256sums=('81abe267a49fe95f20368725c27a43122e4db981e9ae3b3e94139e924940a54a')
+
+build() {
+ cd "$_pipname-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$_pipname-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}