diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 23 |
3 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e418d40923c0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = ffox-remote + pkgdesc = Lightweight remote control for Unix Firefox + pkgver = 20141024.b936fe94248eb084883211289020e1c1d43f6a71 + pkgrel = 1 + url = https://github.com/siebenmann/ffox-remote + arch = x86_64 + license = unknown + makedepends = go + depends = glibc + source = https://github.com/siebenmann/ffox-remote/archive/b936fe94248eb084883211289020e1c1d43f6a71.zip + sha512sums = 043c5983b21ea59b341a0acfc55e44a6ca9f8c62ec677eca255421cc4891c0385fe75acaa7a53cdc8a559734cd7779fade931cc96fc632c3ece49b43117f7d67 + +pkgname = ffox-remote + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..741b09c27f18 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/*.zip +/ffox-remote-* +/pkg +/src diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cb1abc5b8561 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Sung Pae <self AT sungpae DOT com> +pkgname=ffox-remote +_commit='b936fe94248eb084883211289020e1c1d43f6a71' +pkgver="20141024.$_commit" +pkgrel=1 +pkgdesc='Lightweight remote control for Unix Firefox' +arch=('x86_64') +url="https://github.com/siebenmann/ffox-remote" +license=('unknown') +depends=('glibc') +makedepends=('go') +source=("https://github.com/siebenmann/ffox-remote/archive/$_commit.zip") +sha512sums=('043c5983b21ea59b341a0acfc55e44a6ca9f8c62ec677eca255421cc4891c0385fe75acaa7a53cdc8a559734cd7779fade931cc96fc632c3ece49b43117f7d67') + +build() { + cd "$pkgname-$_commit" + go build -buildmode=pie -o "$pkgname" +} + +package() { + cd "$pkgname-$_commit" + install -m 0755 -D -t "$pkgdir/usr/bin" "$pkgname" +} |