aports/testing/noice/APKBUILD
znley bd22e75f5c testing/noice: fix build error due to cflags
Default CFLAGS `-Wformat-security` will cause the build to fail.
2024-07-04 07:53:08 +00:00

28 lines
764 B
Text

# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: sin <sin@2f30.org>
# Maintainer: sin <sin@2f30.org>
pkgname=noice
pkgver=0.8
pkgrel=1
pkgdesc="A simple file browser"
url="https://git.2f30.org/noice"
arch="all"
license="BSD-2-Clause"
options="!check"
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="https://dl.2f30.org/releases/$pkgname-$pkgver.tar.gz"
build() {
# remove default -Werror=format-security cflags
make CFLAGS="${CFLAGS/-Werror=format-security/}"
}
package() {
make \
PREFIX=/usr \
MANPREFIX=/usr/share/man \
DESTDIR="$pkgdir" install
}
sha512sums="96e7115eb97e7ea82490d92498e495bb96d2a458f7043904abdadf1d44dd7577dc52ecc420f450c5c2bfbfab9c0340b5814410e4eb26c0e62ef94298f7f86eeb noice-0.8.tar.gz"