diff options
author | Đoàn Trần Công Danh <congdanhqx@gmail.com> | 2020-05-23 08:07:39 +0000 |
---|---|---|
committer | Danh Doan <congdanhqx@gmail.com> | 2020-05-31 02:10:51 +0000 |
commit | 4ad0e936b1e2cdc1d11109cd2cea3cdd8cf309d1 (patch) | |
tree | 935f0ee331be50d3effcf7d66a53dd65b900499f | |
parent | 4108f2bf912f8ff08438fcee070b7619e945448e (diff) | |
download | void-packages-4ad0e936b1e2cdc1d11109cd2cea3cdd8cf309d1.tar void-packages-4ad0e936b1e2cdc1d11109cd2cea3cdd8cf309d1.tar.gz void-packages-4ad0e936b1e2cdc1d11109cd2cea3cdd8cf309d1.tar.bz2 void-packages-4ad0e936b1e2cdc1d11109cd2cea3cdd8cf309d1.tar.lz void-packages-4ad0e936b1e2cdc1d11109cd2cea3cdd8cf309d1.tar.xz void-packages-4ad0e936b1e2cdc1d11109cd2cea3cdd8cf309d1.tar.zst void-packages-4ad0e936b1e2cdc1d11109cd2cea3cdd8cf309d1.zip |
libotf: remove $XBPS_CROSS_BASE cruft
[ci skip]
-rw-r--r-- | srcpkgs/libotf/template | 8 |
1 files changed, 7 insertions, 1 deletions
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 <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" |