git » litehtml.git » commit 7c8bf2f

Fix cmake config

author Antonio Rojas
2022-06-16 14:32:13 UTC
committer Antonio Rojas
2022-06-16 14:32:13 UTC
parent 6bb1f3cce713a19f2b0b6fb52674d2e2882ac89e

Fix cmake config

PKGBUILD +3 -1

diff --git a/PKGBUILD b/PKGBUILD
index 0d46fa2..8a6830e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 
 pkgname=litehtml
 pkgver=0.6
-pkgrel=1
+pkgrel=2
 pkgdesc='Fast and lightweight HTML/CSS rendering engine'
 url='http://www.litehtml.com/'
 arch=(x86_64)
@@ -25,4 +25,6 @@ build() {
 package() {
   DESTDIR="$pkgdir" cmake --install build
   install -Dm644 $pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+# Don't search for non-existant gumbo cmake config
+  sed -e '/gumbo/d' -i "$pkgdir"/usr/lib/cmake/litehtml/litehtmlConfig.cmake
 }