summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFahad Hossain2017-01-19 16:16:41 +0600
committerFahad Hossain2017-01-19 16:16:41 +0600
commit3b4a25c6d7d96e43123300f3e6c9a2160f765e88 (patch)
tree1387475d63318fecae96743d74cbd3a760215bbb
downloadaur-3b4a25c6d7d96e43123300f3e6c9a2160f765e88.tar.gz
package version 1.0.0
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD20
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..315a0cebc96
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Thu Jan 19 10:12:07 UTC 2017
+pkgbase = xopen-file
+ pkgdesc = Open files using xdg-open
+ pkgver = 1.0.0
+ pkgrel = 1
+ url = https://github.com/fa7ad/xopen-file
+ arch = any
+ license = MIT
+ makedepends = git
+ depends = python >= 3.5,
+ depends = xdg-utils
+ options = !emptydirs
+ source = xopen-file::git://github.com/fa7ad/xopen-file.git
+ md5sums = SKIP
+
+pkgname = xopen-file
+
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: