void-packages/srcpkgs/libwpe/template

28 lines
721 B
Bash

# Template file for 'libwpe'
pkgname=libwpe
version=1.12.3
revision=2
build_style=meson
hostmakedepends="pkg-config"
makedepends="MesaLib-devel libxkbcommon-devel"
short_desc="General-purpose library for WPE WebKit"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://wpewebkit.org"
distfiles="https://wpewebkit.org/releases/${pkgname}-${version}.tar.xz"
checksum=b84fdbfbc849ce4fdf084bb28b58e5463b1b4b6cc8f200dc77b41f8545d5329d
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"
}
}