[arch-commits] Commit in font-bh-ttf/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri Mar 26 00:53:16 UTC 2021


    Date: Friday, March 26, 2021 @ 00:53:16
  Author: heftig
Revision: 411046

1.0.3-7: fontconfig changes

Modified:
  font-bh-ttf/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-26 00:39:35 UTC (rev 411045)
+++ PKGBUILD	2021-03-26 00:53:16 UTC (rev 411046)
@@ -3,26 +3,29 @@
 
 pkgname=font-bh-ttf
 pkgver=1.0.3
-pkgrel=6
+pkgrel=7
 pkgdesc='X.org Luxi Truetype fonts'
 url='https://xorg.freedesktop.org/'
 license=('custom')
 arch=('any')
-makedepends=('xorg-mkfontscale' 'xorg-util-macros')
+makedepends=('xorg-util-macros')
 source=("${url}/releases/individual/font/${pkgname}-${pkgver}.tar.bz2")
 sha256sums=('1b4bea63271b4db0726b5b52c97994c3313b6023510349226908090501abd25f')
 
 build() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	./configure --prefix=/usr \
-          --with-fontdir=/usr/share/fonts/TTF \
-          --with-fc-confdir=/etc/fonts
-	make
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr --sysconfdir=/etc \
+    --with-fontdir=/usr/share/fonts/TTF \
+    --with-fc-confdir=/usr/share/fontconfig \
+    MKFONTSCALE=/bin/true MKFONTDIR=/bin/true
+  make
 }
 
 package() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	make DESTDIR="${pkgdir}" install
-	rm "${pkgdir}/usr/share/fonts/"*/fonts.*
-	install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install \
+    actualconfigdir=/usr/share/fontconfig/conf.default
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
 }
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list