[arch-commits] Commit in gsfonts/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 16 11:20:46 UTC 2020


    Date: Saturday, May 16, 2020 @ 11:20:45
  Author: felixonmars
Revision: 384286

archrelease: copy trunk to staging-any

Added:
  gsfonts/repos/staging-any/
  gsfonts/repos/staging-any/PKGBUILD
    (from rev 384285, gsfonts/trunk/PKGBUILD)

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

Copied: gsfonts/repos/staging-any/PKGBUILD (from rev 384285, gsfonts/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-16 11:20:45 UTC (rev 384286)
@@ -0,0 +1,33 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Firmicus <francois.archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+pkgname=gsfonts
+pkgver=20180524
+pkgrel=3
+pkgdesc='(URW)++ Core Font Set [Level 2]'
+url='https://github.com/ArtifexSoftware/urw-base35-fonts'
+arch=('any')
+license=('AGPL3')
+makedepends=('git')
+_commit=b758567463df532414c520cf008e27d9448b55a4  # master
+source=("git+https://github.com/ArtifexSoftware/urw-base35-fonts#commit=${_commit}")
+sha256sums=('SKIP')
+
+pkgver() {
+	cd urw-base35-fonts
+	TZ=UTC git show -s --pretty=%cd --date=format-local:%Y%m%d HEAD
+}
+
+package() {
+	cd urw-base35-fonts
+	install -Dt "${pkgdir}/usr/share/fonts/${pkgname}" -m644 fonts/*.otf
+	install -Dt "${pkgdir}/usr/share/metainfo" -m644 appstream/*.xml
+
+	install -d "${pkgdir}"/etc/fonts/conf.{avail,d}
+	for _f in fontconfig/*.conf; do
+		_fn="${pkgdir}/etc/fonts/conf.avail/69-${_f##*/}"
+		install -m644 ${_f} "${_fn}"
+		ln -srt "${pkgdir}/etc/fonts/conf.d" "${_fn}"
+	done
+}



More information about the arch-commits mailing list