[arch-commits] Commit in gsfonts/repos (testing-any testing-any/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri Oct 16 18:20:52 UTC 2020
Date: Friday, October 16, 2020 @ 18:20:52
Author: arojas
Revision: 398448
archrelease: copy trunk to testing-any
Added:
gsfonts/repos/testing-any/
gsfonts/repos/testing-any/PKGBUILD
(from rev 398447, gsfonts/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: gsfonts/repos/testing-any/PKGBUILD (from rev 398447, gsfonts/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2020-10-16 18:20:52 UTC (rev 398448)
@@ -0,0 +1,32 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Firmicus <francois.archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+pkgname=gsfonts
+pkgver=20200616
+pkgrel=1
+pkgdesc='(URW)++ Core Font Set [Level 2]'
+url='https://github.com/ArtifexSoftware/urw-base35-fonts'
+arch=('any')
+license=('AGPL3')
+makedepends=('git')
+source=("git+https://github.com/ArtifexSoftware/urw-base35-fonts#tag=$pkgver")
+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