[arch-commits] Commit in ttf-dejavu/repos (testing-any testing-any/PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Tue Jun 16 19:14:46 UTC 2020


    Date: Tuesday, June 16, 2020 @ 19:14:45
  Author: andyrtr
Revision: 389385

archrelease: copy trunk to testing-any

Added:
  ttf-dejavu/repos/testing-any/
  ttf-dejavu/repos/testing-any/PKGBUILD
    (from rev 389384, ttf-dejavu/trunk/PKGBUILD)

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

Copied: ttf-dejavu/repos/testing-any/PKGBUILD (from rev 389384, ttf-dejavu/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2020-06-16 19:14:45 UTC (rev 389385)
@@ -0,0 +1,44 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Michal Krenek <mikos at sg1.cz>
+
+pkgname=ttf-dejavu
+pkgver=2.37+18+g9b5d1b2f
+pkgrel=1
+pkgdesc="Font family based on the Bitstream Vera Fonts with a wider range of characters"
+arch=('any')
+url="https://dejavu-fonts.github.io/"
+license=('custom')
+depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-mkfontscale' 'xorg-mkfontdir')
+makedepends=('git' 'fontforge' 'perl-font-ttf')
+provides=('ttf-font')
+_commit=9b5d1b2ffeec20c7b46aa89c0223d783c02762cf  # master
+source=("git+https://github.com/dejavu-fonts/dejavu-fonts.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd dejavu-fonts
+  git describe --tags | sed 's/^version_//;s/_/./;s/-/+/g'
+}
+
+build() {
+  cd "${srcdir}"/dejavu-fonts
+  make  full-ttf
+}
+
+package() {
+  install -dm755 "${pkgdir}"/etc/fonts/conf.avail
+  install -dm755 "${pkgdir}"/etc/fonts/conf.d
+  install -dm755 "${pkgdir}"/usr/share/fonts/TTF
+
+  cd "${srcdir}"/dejavu-fonts
+  install -m644 build/*.ttf "${pkgdir}"/usr/share/fonts/TTF/
+  install -m644 fontconfig/*.conf "${pkgdir}"/etc/fonts/conf.avail/
+
+  pushd "${pkgdir}"/etc/fonts/conf.avail
+  for config in *; do
+    ln -sf ../conf.avail/${config} ../conf.d/${config}
+  done
+  popd
+
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list