summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRonuk Raval2019-08-11 16:27:42 -0400
committerRonuk Raval2019-08-20 20:22:22 -0400
commitfda8f63248dfb5d2957e0d541dbfd8565a2076ef (patch)
tree0d847f59ea3bfa180b91675e1bfcc8b59e35e415 /PKGBUILD
downloadaur-fda8f63248dfb5d2957e0d541dbfd8565a2076ef.tar.gz
v0.1.20
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ab25f9f4850
--- /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"
+}