[arch-commits] Commit in xorg-fonts-encodings/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Tue Mar 6 08:12:42 UTC 2012


    Date: Tuesday, March 6, 2012 @ 03:12:42
  Author: allan
Revision: 152261

upgpkg: xorg-fonts-encodings 1.0.4-2

remove non-compressed entries from encodings.dir

Modified:
  xorg-fonts-encodings/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-06 06:39:49 UTC (rev 152260)
+++ PKGBUILD	2012-03-06 08:12:42 UTC (rev 152261)
@@ -10,12 +10,12 @@
 license=('custom')
 makedepends=('xorg-mkfontscale' 'xorg-util-macros' 'xorg-font-util')
 groups=('xorg-fonts' 'xorg')
+options=(!makeflags)
 source=(${url}/releases/individual/font/encodings-${pkgver}.tar.bz2)
 sha1sums=('24ace2470403f85a0d393769204029bd8247992a')
 
 build() {
   cd "${srcdir}/encodings-${pkgver}"
-  autoreconf
   ./configure --prefix=/usr
   make
 }
@@ -24,4 +24,10 @@
   cd "${srcdir}/encodings-${pkgver}"
   make DESTDIR="${pkgdir}" install
   install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+
+  # regenerate encodngs file not to include non-compressed versions
+  cd $pkgdir/usr/share/fonts/encodings/large
+  mkfontscale -b -s -l -n -r -p /usr/share/fonts/encodings/large -e . .
+  cd $pkgdir/usr/share/fonts/encodings/
+  mkfontscale -b -s -l -n -r -p /usr/share/fonts/encodings -e . -e large .
 }




More information about the arch-commits mailing list