mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-10 14:24:06 +02:00
36 lines
860 B
Text
36 lines
860 B
Text
# Contributor: Angelo Verlain <hey@vixalien.com>
|
|
maintainer="Angelo Verlain <hey@vixalien.com>"
|
|
pkgname=oblibs
|
|
pkgver=0.3.4.0
|
|
pkgrel=0
|
|
pkgdesc="a small C library used by obarun.org projects."
|
|
url="https://git.obarun.org/Obarun/oblibs"
|
|
arch="all"
|
|
license="ISC"
|
|
makedepends="
|
|
execline-dev
|
|
meson
|
|
skalibs-dev
|
|
"
|
|
subpackages="$pkgname-dbg $pkgname-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://git.obarun.org/Obarun/oblibs/-/archive/$pkgver/oblibs-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Denable-static=true \
|
|
-Dtest=true \
|
|
output .
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
40f1de0760f84b2c7ffd33818f9cff2ec6d7a2126705e65e063368e41eecd612ea2b50be565e1478f5bb1668212d644b1ea342ecc7b4ff60668da5c748907b39 oblibs-0.3.4.0.tar.gz
|
|
"
|