aboutsummaryrefslogtreecommitdiffstats
path: root/testing/googler
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2017-03-05 14:55:52 +0800
committerNatanael Copa <ncopa@alpinelinux.org>2017-03-08 10:50:36 +0000
commita2a98ff399a1bf8d990e9db5fe1f69b69ec1da54 (patch)
treeaad7219d2e2fc47712857580b710021342ad40c6 /testing/googler
parent4b99a30137f96035710a1c96e0adada3b9fdad74 (diff)
downloadaports-a2a98ff399a1bf8d990e9db5fe1f69b69ec1da54.tar.bz2
aports-a2a98ff399a1bf8d990e9db5fe1f69b69ec1da54.tar.xz
testing/googler: new aport
https://github.com/jarun/googler Google Search, Google Site Search, Google News from the terminal.
Diffstat (limited to 'testing/googler')
-rw-r--r--testing/googler/APKBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/googler/APKBUILD b/testing/googler/APKBUILD
new file mode 100644
index 0000000000..6bac93c901
--- /dev/null
+++ b/testing/googler/APKBUILD
@@ -0,0 +1,21 @@
+# Contributor: Ivan Tham <pickfire@riseup.net>
+# Maintainer: Ivan Tham <pickfire@riseup.net>
+pkgname=googler
+pkgver=2.9
+pkgrel=0
+pkgdesc="Google Search, Google Site Search, Google News from the terminal."
+url="https://github.com/jarun/googler"
+arch="noarch"
+license="GPL3"
+depends="python3"
+subpackages="$pkgname-doc"
+source="https://github.com/jarun/${pkgname}/archive/v${pkgver}.tar.gz"
+builddir="$srcdir/"$pkgname-$pkgver
+
+package() {
+ cd "$builddir"
+ make disable-self-upgrade || return 1
+ make install DESTDIR="$pkgdir" PREFIX=/usr || return 1
+}
+
+sha512sums="0fbeb2ca1a70f37ee35b80afebad6e587f42f2b9cae521ee9f057a82cb863509f686ef60b9428244b75a43bda6963b5805d9339e76ffb060bff7f40d8aeabe0c v2.9.tar.gz"