void-packages/srcpkgs/woff2/template
Lugubris d78cb0d201 Drop maintainership of orphaned packages
some packages were dropped but their maintainer= was not updated in template.
this will help new maintainers adopt these packages.

-> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
2019-08-25 21:16:43 +02:00

47 lines
1.1 KiB
Bash

# Template file for 'woff2'
pkgname=woff2
version=1.0.2
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="brotli-devel"
short_desc="Web Open Font Format 2 reference implementaton"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/google/woff2"
distfiles="https://github.com/google/woff2/archive/v${version}.tar.gz"
checksum=add272bb09e6384a4833ffca4896350fdb16e0ca22df68c0384773c67a175594
libwoff2common1.0.2_package() {
short_desc+=" - common library"
pkg_install() {
vmove "usr/lib/libwoff2common.so.*"
}
}
libwoff2enc1.0.2_package() {
short_desc+=" - encoder library"
pkg_install() {
vmove "usr/lib/libwoff2enc.so.*"
}
}
libwoff2dec1.0.2_package() {
short_desc+=" - decoder library"
pkg_install() {
vmove "usr/lib/libwoff2dec.so.*"
}
}
woff2-devel_package() {
depends="libwoff2common1.0.2-${version}_${revision}
libwoff2dec1.0.2-${version}_${revision}
libwoff2enc1.0.2-${version}_${revision}
brotli-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}