[arch-commits] Commit in xorg-fonts-encodings/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat May 16 11:50:32 UTC 2020


    Date: Saturday, May 16, 2020 @ 11:50:32
  Author: foutrelis
Revision: 384364

archrelease: copy trunk to staging-any

Added:
  xorg-fonts-encodings/repos/staging-any/
  xorg-fonts-encodings/repos/staging-any/PKGBUILD
    (from rev 384363, xorg-fonts-encodings/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: xorg-fonts-encodings/repos/staging-any/PKGBUILD (from rev 384363, xorg-fonts-encodings/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-16 11:50:32 UTC (rev 384364)
@@ -0,0 +1,34 @@
+#Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xorg-fonts-encodings
+pkgver=1.0.5
+pkgrel=2
+pkgdesc="X.org font encoding files"
+arch=(any)
+url="https://xorg.freedesktop.org/"
+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{,.sig})
+sha512sums=('920e49f0b3545f181a1574ca3280ac9adef1e68fe27566c195dd7013f728d355c0d759132789357fcf8fa7391fcbe1e17edf2bd85aa5611df5a4d99740011008'
+            'SKIP')
+validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # "Matt Turner <mattst88 at gmail.com>"
+
+build() {
+  cd encodings-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd 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