summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFahad Hossain2017-01-19 16:16:41 +0600
committerFahad Hossain2017-01-19 16:16:41 +0600
commit3b4a25c6d7d96e43123300f3e6c9a2160f765e88 (patch)
tree1387475d63318fecae96743d74cbd3a760215bbb /PKGBUILD
downloadaur-3b4a25c6d7d96e43123300f3e6c9a2160f765e88.tar.gz
package version 1.0.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..64861ef1903
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Fahad Hossain <8bit.demoncoder AT gmail.com>
+pkgname='xopen-file'
+pkgver='1.0.0'
+pkgrel=1
+pkgdesc="Open files using xdg-open"
+arch=('any')
+url="https://github.com/fa7ad/xopen-file"
+license=('MIT')
+depends=('python>=3.5', 'xdg-utils')
+makedepends=('git')
+options=(!emptydirs)
+source=("$pkgname"::"git://github.com/fa7ad/xopen-file.git")
+md5sums=("SKIP")
+
+package() {
+ cd "$srcdir/$pkgname"
+ python setup.py install --prefix="/usr" --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 ft=sh et: