diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-03-08 10:53:10 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-03-08 10:53:10 +0000 |
commit | 80afd9bbb02ec37446c90f2db06e362364be6d3c (patch) | |
tree | 8a0cbca38ac2600936d6a5e31a1eaf00cdc69149 /testing/googler/APKBUILD | |
parent | a2a98ff399a1bf8d990e9db5fe1f69b69ec1da54 (diff) | |
download | aports-80afd9bbb02ec37446c90f2db06e362364be6d3c.tar.bz2 aports-80afd9bbb02ec37446c90f2db06e362364be6d3c.tar.xz |
testing/googler: fix download source archive and build func
Diffstat (limited to 'testing/googler/APKBUILD')
-rw-r--r-- | testing/googler/APKBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/testing/googler/APKBUILD b/testing/googler/APKBUILD index 6bac93c901..4aae39f6f3 100644 --- a/testing/googler/APKBUILD +++ b/testing/googler/APKBUILD @@ -9,13 +9,17 @@ arch="noarch" license="GPL3" depends="python3" subpackages="$pkgname-doc" -source="https://github.com/jarun/${pkgname}/archive/v${pkgver}.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://github.com/jarun/${pkgname}/archive/v${pkgver}.tar.gz" builddir="$srcdir/"$pkgname-$pkgver -package() { +build() { cd "$builddir" make disable-self-upgrade || return 1 +} + +package() { + cd "$builddir" make install DESTDIR="$pkgdir" PREFIX=/usr || return 1 } -sha512sums="0fbeb2ca1a70f37ee35b80afebad6e587f42f2b9cae521ee9f057a82cb863509f686ef60b9428244b75a43bda6963b5805d9339e76ffb060bff7f40d8aeabe0c v2.9.tar.gz" +sha512sums="0fbeb2ca1a70f37ee35b80afebad6e587f42f2b9cae521ee9f057a82cb863509f686ef60b9428244b75a43bda6963b5805d9339e76ffb060bff7f40d8aeabe0c googler-2.9.tar.gz" |