1 # Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
6 pkgdesc="Alpine Package Keeper - package manager for alpine"
7 url="https://gitlab.alpinelinux.org/alpine/apk-tools"
10 depends=(zlib openssl)
11 makedepends=(scdoc lua53 lua53-zlib)
12 source=("https://gitlab.alpinelinux.org/alpine/${pkgname}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
13 b2sums=('f74bb618c0c8f44036adcb07fc5cc5d67a284fff00f878e1a5f28fbe262b059a5356d73f58af4fc52d635333ddd710af633bafffdc8c39924a31c87a9fc2a26d')
16 cd "${pkgname}-v${pkgver}"
17 sed -i -e 's:-Werror::' Make.rules
21 cd "${pkgname}-v${pkgver}"
22 make SBINDIR=/usr/bin LIBDIR=/usr/lib
26 cd "${pkgname}-v${pkgver}"
31 cd "${pkgname}-v${pkgver}"
32 make install DESTDIR="${pkgdir}" SBINDIR=/usr/bin LIBDIR=/usr/lib