diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/ninja-open/PKGBUILD | 24 |
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: |