summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-12-11 17:32:28 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-12-11 17:32:28 -0200
commit0494b780c9ddfe38a81640b95c04e429d06bd065 (patch)
treef97456ed3fcbb2f3febc19d6e93ca1517fa190b0
parent01cf5a3cf4116aa031b78ecc59bb998e371303bf (diff)
parent5e88060774cc8d538f40b6ea9990fc0922977727 (diff)
Merge branch 'master' of ssh://projects.parabola.nu/~git/abslibre/abslibre
-rw-r--r--pcr/ninja-open/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/ninja-open/PKGBUILD b/pcr/ninja-open/PKGBUILD
new file mode 100644
index 000000000..e3e939688
--- /dev/null
+++ b/pcr/ninja-open/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>
+# Contributor: Alexander Rødseth <rodseth@gmail.com>
+pkgname=ninja-open
+pkgver=0.7
+pkgrel=5
+pkgdesc='Quick and dirty replacement for xdg-open'
+arch=('x86_64' 'i686')
+url='http://roboticoverlords.org/ninjaopen/'
+license=('GPL2')
+optdepends=('eog' 'evince' 'file-roller' 'deluge' 'gedit' 'wine' 'firefox' 'smplayer' 'vlc' 'gimp')
+makedepends=('go')
+options=(!strip)
+source=("http://roboticoverlords.org/ninjaopen/$pkgname-$pkgver.xz")
+
+build() {
+ cd "$pkgname-$pkgver"
+ go build -o "$pkgname"
+}
+
+package() {
+ install -Dm755 "$pkgname-$pkgver/$pkgname" "$pkgdir/usr/bin/xdg-open"
+}
+
+# vim:set ts=2 sw=2 et: