void-packages/srcpkgs/libwpe/template

28 lines
716 B
Bash

# Template file for 'libwpe'
pkgname=libwpe
version=1.10.0
revision=2
build_style=meson
hostmakedepends="pkg-config"
makedepends="MesaLib-devel libxkbcommon-devel"
short_desc="General-purpose library for WPE WebKit"
maintainer="q66 <daniel@octaforge.org>"
license="BSD-2-Clause"
homepage="https://wpewebkit.org"
distfiles="https://wpewebkit.org/releases/${pkgname}-${version}.tar.xz"
checksum=2415e270d45e3595ed4052bc105f733744dc2d3677e12ff4a831e5029841084d
post_install() {
vlicense COPYING
}
libwpe-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libxkbcommon-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}