summaryrefslogtreecommitdiff
path: root/pcr/python-papis_python_rofi
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-03-05 13:29:08 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-03-05 13:29:34 +0100
commitf33401dbca698b90b3e567f8fbb7a6a1a12b6173 (patch)
tree12eeba48b0dea4e6cead2b72006a96fb7cb3d2ed /pcr/python-papis_python_rofi
parent7ecfe3c9184e9abc3a2d9118190af415f95f8b50 (diff)
pcr/papis: added, plus dependencies
Diffstat (limited to 'pcr/python-papis_python_rofi')
-rw-r--r--pcr/python-papis_python_rofi/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/pcr/python-papis_python_rofi/PKGBUILD b/pcr/python-papis_python_rofi/PKGBUILD
new file mode 100644
index 000000000..b3bb474fd
--- /dev/null
+++ b/pcr/python-papis_python_rofi/PKGBUILD
@@ -0,0 +1,22 @@
+
+_pkgname=papis_python_rofi
+pkgname=(python-$_pkgname python2-$_pkgname)
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="Create simple GUIs using the Rofi application (fork for papis)"
+arch=('any')
+url="https://pypi.python.org/pypi/${_pkgname//_/-}"
+license=('GPLv3')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.python.org/packages/02/e6/62e8cd2f4cc2e14a313e0490b1252f908b2ef8a841a6e0f76a83bf89806f/${_pkgname//_/-}-$pkgver.tar.gz")
+sha256sums=('3bd01a9db97b620c4249e89e37c2fe669ba405ac179ea3bffa43246c05af668e')
+
+_package(){
+ depends=($1)
+ cd "$srcdir"/${_pkgname//_/-}-$pkgver
+ $1 setup.py install --root="$pkgdir"
+}
+
+for pkg in "${pkgname[@]}"; do
+ eval "package_$pkg () { _package ${pkg%%-*}; }"
+done