aboutsummaryrefslogtreecommitdiffstats
path: root/testing/googler/APKBUILD
blob: 4aae39f6f3a6d72a4b5ac296dee7eb48f64b2a26 (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
25
# 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="$pkgname-$pkgver.tar.gz::https://github.com/jarun/${pkgname}/archive/v${pkgver}.tar.gz"
builddir="$srcdir/"$pkgname-$pkgver

build() {
	cd "$builddir"
	make disable-self-upgrade || return 1
}

package() {
	cd "$builddir"
	make install DESTDIR="$pkgdir" PREFIX=/usr || return 1
}

sha512sums="0fbeb2ca1a70f37ee35b80afebad6e587f42f2b9cae521ee9f057a82cb863509f686ef60b9428244b75a43bda6963b5805d9339e76ffb060bff7f40d8aeabe0c  googler-2.9.tar.gz"