4ad0e936b1
[ci skip]
30 lines
847 B
Bash
30 lines
847 B
Bash
# Template file for 'libotf'
|
|
pkgname=libotf
|
|
version=0.9.16
|
|
revision=1
|
|
build_style=gnu-configure
|
|
makedepends="libXaw-devel freetype-devel"
|
|
short_desc="Library for handling OpenType Font"
|
|
maintainer="Kazuho Sakoda <hyonhyoro.kazuho@gmail.com>"
|
|
license="LGPL-2.1"
|
|
homepage="http://www.nongnu.org/m17n/"
|
|
distfiles="${NONGNU_SITE}/m17n/${pkgname}-${version}.tar.gz"
|
|
checksum=68db0ca3cda2d46a663a92ec26e6eb5adc392ea5191bcda74268f0aefa78066b
|
|
|
|
post_install() {
|
|
vsed -i -e "s,$XBPS_CROSS_BASE/usr,/usr,g" \
|
|
"$DESTDIR/usr/bin/libotf-config" \
|
|
"$DESTDIR/usr/lib/pkgconfig/libotf.pc"
|
|
}
|
|
|
|
libotf-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/bin/libotf-config
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|