apk-tools: update to 2.8.0.

Use bundled libfetch, it's newer than the one Void has.
This commit is contained in:
Leah Neukirchen 2017-10-07 14:26:38 +02:00
parent 2738d7d704
commit bfebd3d3fe
2 changed files with 3 additions and 18 deletions

View file

@ -1,11 +0,0 @@
--- src/database.c.orig
+++ src/database.c
@@ -26,6 +26,8 @@
#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/mount.h>
+#include <sys/statvfs.h>
+#include <sys/sysmacros.h>
#include <linux/magic.h>
#include "apk_defines.h"

View file

@ -1,23 +1,19 @@
# Template file for 'apk-tools'
pkgname=apk-tools
version=2.7.2
version=2.8.0
revision=1
build_style=gnu-makefile
make_build_args="LUAAPK="
hostmakedepends="pkg-config"
makedepends="libressl-devel zlib-devel libfetch-devel"
makedepends="libressl-devel zlib-devel"
short_desc="Alpine Package Keeper (Alpine package manager)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
homepage="http://git.alpinelinux.org/cgit/apk-tools"
distfiles="http://git.alpinelinux.org/cgit/${pkgname}/snapshot/${pkgname}-${version}.tar.bz2"
checksum=7e6b8ccd1c4573b90dd835f19836f2514a10ec7d83923a1585f44100fa122592
checksum=e7f63e88f5f8338b2607c0099ae3c2d91d4fd5ac45969d026570878003e8629e
CFLAGS=-Wno-error
post_extract() {
sed -i 's,/usr/lib/libfetch.a,-lfetch,g' src/Makefile
}
do_install() {
vbin src/apk
}