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

Evangelos Foutras foutrelis at archlinux.org
Sat Nov 10 00:34:14 UTC 2018


    Date: Saturday, November 10, 2018 @ 00:34:13
  Author: foutrelis
Revision: 338863

archrelease: copy trunk to staging-any

Added:
  xorg-fonts-100dpi/repos/staging-any/
  xorg-fonts-100dpi/repos/staging-any/PKGBUILD
    (from rev 338862, xorg-fonts-100dpi/trunk/PKGBUILD)

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

Copied: xorg-fonts-100dpi/repos/staging-any/PKGBUILD (from rev 338862, xorg-fonts-100dpi/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-11-10 00:34:13 UTC (rev 338863)
@@ -0,0 +1,49 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xorg-fonts-100dpi
+pkgver=1.0.3
+pkgrel=4
+pkgdesc="X.org 100dpi fonts"
+arch=('any')
+url="https://xorg.freedesktop.org/"
+license=('custom')
+depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig')
+groups=('xorg')
+source=(${url}/releases/individual/font/font-adobe-100dpi-1.0.3.tar.bz2
+        ${url}/releases/individual/font/font-adobe-utopia-100dpi-1.0.4.tar.bz2
+        ${url}/releases/individual/font/font-bh-100dpi-1.0.3.tar.bz2
+        ${url}/releases/individual/font/font-bh-lucidatypewriter-100dpi-1.0.3.tar.bz2
+        ${url}/releases/individual/font/font-bitstream-100dpi-1.0.3.tar.bz2)
+md5sums=('1347c3031b74c9e91dc4dfa53b12f143'
+         '66fb6de561648a6dce2755621d6aea17'
+         '9f11ade089d689b9d59e0f47d26f39cd'
+         'c8b73a53dcefe3e8d3907d3500e484a9'
+         '6b223a54b15ecbd5a1bc52312ad790d8')
+
+build() {
+  cd "${srcdir}"
+  for dir in font-*-100dpi*; do
+    if [ -d "${dir}" ]; then
+      pushd ${dir}
+      ./configure --prefix=/usr \
+          --with-fontdir=/usr/share/fonts/100dpi
+      make
+      popd
+    fi
+  done
+}
+
+package() {
+  cd "${srcdir}"
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  for dir in font-*-100dpi*; do
+    if [ -d "${dir}" ]; then
+      pushd ${dir}
+      make DESTDIR="${pkgdir}" install
+      install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-100dpi-*}"
+      popd
+    fi
+  done
+  rm -f "${pkgdir}"/usr/share/fonts/100dpi/fonts.*
+}


More information about the arch-commits mailing list