diff options
author | Ronuk Raval | 2019-08-11 16:27:42 -0400 |
---|---|---|
committer | Ronuk Raval | 2019-08-20 20:22:22 -0400 |
commit | fda8f63248dfb5d2957e0d541dbfd8565a2076ef (patch) | |
tree | 0d847f59ea3bfa180b91675e1bfcc8b59e35e415 | |
download | aur-fda8f63248dfb5d2957e0d541dbfd8565a2076ef.tar.gz |
v0.1.20
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 27 |
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e450a6b24335 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python-shortcutter + pkgdesc = Easy cross-platform creation of shortcuts supporting virtual and Anaconda environments + pkgver = 0.1.20 + pkgrel = 1 + url = https://github.com/kiwi0fruit/shortcutter + arch = any + license = MIT + depends = python + source = python-shortcutter-0.1.20.tar.gz::https://github.com/kiwi0fruit/shortcutter/archive/0.1.20.tar.gz + sha256sums = 859ddf79a061071544cd4dcb30a77f390c97ed8819d5cf05bec4e564d8ea7b95 + +pkgname = python-shortcutter + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..ae7ba705300f --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +/pkg +/src +/*.pkg.tar +/*.pkg.tar.xz +/python-shortcutter-*.tar.gz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ab25f9f4850f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Ronuk Raval <ronuk.raval at gmail dot com> + +pkgname=python-shortcutter +pkgver=0.1.20 +pkgrel=1 +pkgdesc="Easy cross-platform creation of shortcuts supporting virtual and Anaconda environments" +arch=('any') +url="https://github.com/kiwi0fruit/shortcutter" +license=('MIT') +depends=(python) +source=( + ${pkgname}-${pkgver}.tar.gz::https://github.com/kiwi0fruit/shortcutter/archive/${pkgver}.tar.gz +) +sha256sums=( + 859ddf79a061071544cd4dcb30a77f390c97ed8819d5cf05bec4e564d8ea7b95 +) + +build() { + cd "shortcutter-${pkgver}" + python setup.py build +} + +package() { + cd "shortcutter-${pkgver}" + python setup.py install --skip-build --root="$pkgdir/" --optimize=1 + install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |