diff options
author | Giovanni Harting | 2019-10-04 10:09:15 +0200 |
---|---|---|
committer | Giovanni Harting | 2019-10-04 10:09:15 +0200 |
commit | de2131fc11a3323c4f1ce8e0906d540ba0edb7f7 (patch) | |
tree | fb572f93dc7069e60a8a06fe6330f241f487a6fb | |
download | aur-de2131fc11a3323c4f1ce8e0906d540ba0edb7f7.tar.gz |
Initial upload: python-simple-pid 0.2.3-1
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e478c6fd4c3d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python-simple-pid + pkgdesc = A simple and easy to use PID controller in Python + pkgver = 0.2.3 + pkgrel = 1 + url = https://github.com/m-lundberg/simple-pid + arch = any + license = MIT + makedepends = python-setuptools + source = https://github.com/m-lundberg/simple-pid/archive/v0.2.3.tar.gz + sha256sums = 385a0bae51525d1c0f132a12d385bdce0e604afb819c23fc3ad3088d72822147 + +pkgname = python-simple-pid + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..940f4575b27b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Giovanni Harting <539@idlegandalf.com> + +pkgname=python-simple-pid +_name=${pkgname#python-} +pkgver=0.2.3 +pkgrel=1 +pkgdesc="A simple and easy to use PID controller in Python" +arch=('any') +url="https://github.com/m-lundberg/simple-pid" +license=('MIT') +depends=() +makedepends=('python-setuptools') +source=("https://github.com/m-lundberg/$_name/archive/v$pkgver.tar.gz") +sha256sums=('385a0bae51525d1c0f132a12d385bdce0e604afb819c23fc3ad3088d72822147') + +build() { + cd $_name-$pkgver + + python setup.py build +} + +package() { + cd $_name-$pkgver + + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + |