blob: e3e9396880de8826a7e8cda3cedc2bb8de6eb201 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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:
|