void-packages/srcpkgs/libraqm/template
2017-08-25 08:55:02 +02:00

30 lines
830 B
Bash

# Template file for 'libraqm'
pkgname=libraqm
version=0.3.0
revision=1
wrksrc="raqm-${version}"
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="harfbuzz-devel fribidi-devel"
short_desc="Library for complex text layout"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/HOST-Oman/libraqm"
license="MIT"
distfiles="https://github.com/HOST-Oman/libraqm/releases/download/v${version}/raqm-${version}.tar.gz"
checksum=902592e098c79f8a332d8762dbeb4d277ac3c38ed7666b0f2615f188f2fe3bee
post_install() {
vlicense COPYING LICENSE
}
libraqm-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
}
}