aports/testing/meson-tools/APKBUILD
Ferass El Hafidi e8a7e0e887 testing/meson-tools: remove builddir
It is already set to the default:

> MC[AL1]:APKBUILD:14:1:builddir can be removed as it is the default value

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-12-09 16:37:42 +00:00

26 lines
936 B
Text

# Contributor: Daniel Santana <daniel@santana.tech>
maintainer="Ferass El Hafidi <funderscore@postmarketos.org>"
pkgname=meson-tools
pkgver=0.1
pkgrel=2
pkgdesc="Tools for Amlogic Meson ARM platforms"
url="https://github.com/afaerber/meson-tools"
arch="all"
license="GPL-2.0-or-later"
makedepends_host="openssl-dev>3"
subpackages="$pkgname-doc"
options="!check" # no tests provided
source="$pkgname-$pkgver.tar.gz::https://github.com/afaerber/meson-tools/archive/v$pkgver.tar.gz"
build() {
sed -i 's/lcrypto/lcrypto -lc/' Makefile
make CFLAGS="$CFLAGS -g" LDFLAGS="$LDFLAGS -lcrypto"
}
package() {
install -d "$pkgdir/usr/bin"
install -m755 amlbootsig unamlbootsig amlinfo "$pkgdir/usr/bin"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
sha512sums="4037dda5f2cb1e339728dd4ab59533bbd99e3cffa116dbd3472853f8454564168b3d7460c78f9738caec585a3885844174945043c682584aa5bfc8e7eee28667 meson-tools-0.1.tar.gz"