testing/googler: new aport

https://github.com/jarun/googler
Google Search, Google Site Search, Google News from the terminal.
This commit is contained in:
Ivan Tham 2017-03-05 14:55:52 +08:00 committed by Natanael Copa
parent 4b99a30137
commit a2a98ff399

21
testing/googler/APKBUILD Normal file
View File

@ -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"