diff --git a/srcpkgs/libotf/template b/srcpkgs/libotf/template index 7b5e3b84eb1..30ec1ec56e2 100644 --- a/srcpkgs/libotf/template +++ b/srcpkgs/libotf/template @@ -4,13 +4,19 @@ version=0.9.16 revision=1 build_style=gnu-configure makedepends="libXaw-devel freetype-devel" -short_desc="A Library for handling OpenType Font" +short_desc="Library for handling OpenType Font" maintainer="Kazuho Sakoda " 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"