aboutsummaryrefslogtreecommitdiffstats
path: root/testing/apk-autoupdate/APKBUILD
blob: cf920afdc0bd3a047d5ceb506eef10a79f199130 (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
26
27
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=apk-autoupdate
pkgver=0_git20180503
pkgrel=0
_gitrev=881b6ba1f562f4bc07132f75adddd81439b5e312
pkgdesc="Alpine's tool for automatic updates"
url="https://github.com/jirutka/apk-autoupdate/"
arch="all"
license="MIT"
depends="apk-tools"
makedepends="asciidoctor"
subpackages="$pkgname-doc"
source="$pkgname-$_gitrev.tar.gz::https://github.com/jirutka/$pkgname/archive/$_gitrev.tar.gz"
builddir="$srcdir/$pkgname-$_gitrev"

build() {
	cd "$builddir"
	make build
}

package() {
	cd "$builddir"
	make install DESTDIR="$pkgdir" prefix=/usr
}

sha512sums="b1978d2a53311d4952901bb498526134f6238516b3651db162b1f172fac7cffa31957cb5f003fc32fa10589a08b1118d8ae1bd28c71aaff17bd64625ae3c4d00  apk-autoupdate-881b6ba1f562f4bc07132f75adddd81439b5e312.tar.gz"