summaryrefslogtreecommitdiff
path: root/pcr/ninja-open
diff options
context:
space:
mode:
authorcodex <aurelien@hackers.camp>2014-12-11 19:23:36 +0100
committercodex <aurelien@hackers.camp>2014-12-11 19:23:36 +0100
commit5483fb303efa70713b5a7737528f3ef7236a3dfb (patch)
tree109a1d327d66a3a5cf831b206bb23dd32a5a988f /pcr/ninja-open
parent5db4ea1240f91604975b2e8a98e3114b6b4f76e8 (diff)
downloadabslibre-5483fb303efa70713b5a7737528f3ef7236a3dfb.tar.gz
abslibre-5483fb303efa70713b5a7737528f3ef7236a3dfb.tar.bz2
abslibre-5483fb303efa70713b5a7737528f3ef7236a3dfb.zip
Quick and dirty replacement for xdg-open
Diffstat (limited to 'pcr/ninja-open')
-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: