mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-22 00:02:23 +01:00
35 lines
935 B
Plaintext
35 lines
935 B
Plaintext
# Contributor: Grigory Kirillov <txgk@bk.ru>
|
|
# Maintainer: Grigory Kirillov <txgk@bk.ru>
|
|
pkgname=lexbor
|
|
pkgver=2.1.0
|
|
pkgrel=0
|
|
pkgdesc="Open source HTML Renderer library"
|
|
url="http://lexbor.com"
|
|
# segfaults on 32-bit arches https://github.com/lexbor/lexbor/issues/153
|
|
arch="all !x86 !armv7 !armhf"
|
|
license="Apache-2.0"
|
|
makedepends="cmake samurai"
|
|
subpackages="$pkgname-static $pkgname-dev"
|
|
source="https://github.com/lexbor/lexbor/archive/v$pkgver/lexbor-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
|
-DLEXBOR_BUILD_TESTS=ON \
|
|
-DLEXBOR_BUILD_SEPARATELY=ON
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
ctest --output-on-failure --test-dir build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
02ab46fa63b21c79778f8ac6678ce8ea089f58e0094e77ae444bcbc90d54f1964b5c9aaa6e513311c4b639b39d656ae4e6d878c1e97fede6778a677cf7c7af26 lexbor-2.1.0.tar.gz
|
|
"
|