[arch-commits] Commit in freetype2/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sat Sep 16 23:38:52 UTC 2017
Date: Saturday, September 16, 2017 @ 23:38:51
Author: heftig
Revision: 305701
Move docs to the demos package
Not ideal, but the demos package was only ~160K before, making it rather pointless, size-wise,
compared to the 2.5M+ main package. Moving the docs makes the sizes much more reasonable.
Modified:
freetype2/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-16 23:25:44 UTC (rev 305700)
+++ PKGBUILD 2017-09-16 23:38:51 UTC (rev 305701)
@@ -74,15 +74,11 @@
cd freetype2
make DESTDIR="${pkgdir}" install
- install -Dm644 ../freetype2.sh "${pkgdir}/etc/profile.d/freetype2.sh"
-
- # Package docs
- install -d "${pkgdir}/usr/share/doc"
- cp -a docs "${pkgdir}/usr/share/doc/freetype2"
+ install -Dt "${pkgdir}/etc/profile.d" -m644 ../freetype2.sh
}
package_freetype2-demos() {
- pkgdesc="Freetype tools and demos"
+ pkgdesc="Freetype documentation, tools and demos"
depends=('freetype2' 'libx11')
cd freetype2-demos
@@ -90,6 +86,10 @@
for _i in bin/{f,t}t*; do
libtool --mode=install install $_i "${pkgdir}/usr/bin"
done
+
+ # Package docs
+ install -d "${pkgdir}/usr/share/doc"
+ cp -a ../freetype2/docs "${pkgdir}/usr/share/doc/freetype2"
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list