From 52378d1ed7d8db752c7d7c81795cb07b148bced0 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Fri, 18 Mar 2016 15:21:13 +0100 Subject: [PATCH] New package: apk-tools-2.6.6 --- srcpkgs/apk-tools/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/apk-tools/template diff --git a/srcpkgs/apk-tools/template b/srcpkgs/apk-tools/template new file mode 100644 index 00000000000..4950de58a74 --- /dev/null +++ b/srcpkgs/apk-tools/template @@ -0,0 +1,23 @@ +# Template file for 'apk-tools' +pkgname=apk-tools +version=2.6.6 +revision=1 +build_style=gnu-makefile +make_build_args="LUAAPK=" +hostmakedepends="pkg-config" +makedepends="libressl-devel zlib-devel libfetch-devel" +short_desc="Alpine Package Keeper (Alpine package manager)" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="http://git.alpinelinux.org/cgit/apk-tools" +distfiles="http://git.alpinelinux.org/cgit/${pkgname}/snapshot/${pkgname}-${version}.tar.bz2" +checksum=7e5e86c856ce236c7fd54605ee0b1dbf59920398d3b33f9f6ff0e5f98e6828af +CFLAGS=-Wno-error + +post_extract() { + sed -i 's,/usr/lib/libfetch.a,-lfetch,g' src/Makefile +} + +do_install() { + vbin src/apk +}