earlyoom: update to 1.2.

This commit is contained in:
Leah Neukirchen 2018-10-29 16:31:42 +01:00
parent 781b177368
commit 77ecb516d0
1 changed files with 4 additions and 6 deletions

View File

@ -1,20 +1,18 @@
# Template file for 'earlyoom'
pkgname=earlyoom
version=1.1
version=1.2
revision=1
build_style=gnu-makefile
make_check_target=test
hostmakedepends="pandoc"
checkdepends="go"
short_desc="Userspace Early OOM Daemon for Linux"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://github.com/rfjakob/earlyoom"
distfiles="https://github.com/rfjakob/${pkgname}/archive/v${version}.tar.gz"
checksum=10f700f4eac5322ae7c05520817450da25c2a492471305c8d79192f8fe21ab41
do_build() {
${CC} ${CFLAGS} -DVERSION='"'v$version'"' -o earlyoom *.c ${LDFLAGS}
}
checksum=ce4e8b435eda9bd1427b6606558356249486a405850b9869c0006e7fbd454c5f
CFLAGS="-DVERSION='\"${version}\"'"
do_install() {
vbin earlyoom