[arch-commits] Commit in ttf-liberation/trunk (PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Fri Jan 25 05:52:44 UTC 2019
Date: Friday, January 25, 2019 @ 05:52:43
Author: polyzen
Revision: 427685
upgpkg: ttf-liberation 2.00.4-1
Build ourselves otherwise we need to populate non-deterministic URLs:
https://github.com/liberationfonts/liberation-fonts/files/2579281/liberation-fonts-ttf-2.00.4.tar.gz
Modified:
ttf-liberation/trunk/PKGBUILD
----------+
PKGBUILD | 48 ++++++++++++++++++++++++++++--------------------
1 file changed, 28 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-25 01:50:10 UTC (rev 427684)
+++ PKGBUILD 2019-01-25 05:52:43 UTC (rev 427685)
@@ -1,4 +1,5 @@
# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: Roman Kyrylych <Roman.Kyrylych at gmail.com>
# Contributor: Andreas Zwinkau
@@ -6,36 +7,43 @@
# Contributor: Stefan Husmann < stefan-husmann at t-online.de>
pkgname=ttf-liberation
-pkgver=2.00.1
-pkgrel=8
-pkgdesc='Red Hats Liberation fonts.'
+pkgver=2.00.4
+pkgrel=1
+pkgdesc='Red Hats Liberation fonts'
arch=('any')
license=('custom:OFL')
-url='https://pagure.io/liberation-fonts/'
+url=https://github.com/liberationfonts/liberation-fonts
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
+makedepends=('fontforge' 'python-fonttools')
provides=('ttf-font')
-source=("https://releases.pagure.org/liberation-fonts/liberation-fonts-ttf-${pkgver}.tar.gz"
- 30-0-liberation-mono.conf
- 30-0-liberation-sans.conf
- 30-0-liberation-serif.conf)
-md5sums=('5c781723a0d9ed6188960defba8e91cf'
- '23ce227d5d72c6df2c69caf367d96341'
- '88e91e718053d46cb1215067ffb0024a'
- '5bc229f0f7ad387f1ba311148fcbff00')
+source=("$url/archive/$pkgver/liberation-fonts-$pkgver.tar.gz"
+ '30-0-liberation-mono.conf'
+ '30-0-liberation-sans.conf'
+ '30-0-liberation-serif.conf')
+sha512sums=('3f1e12762511700533f6ce9def580ccf81067fbfc0a995fe3bee3f7eda62bf1f511c5920a4f3e4ab36c295053f8683fe417b7bf9fddebc3134caedabd422c057'
+ 'bb6ae42be2fc5981cae30482702e9543f393db5ce084d2bfc4cfcdb07e61ad78a4d0757d689028d9e89123bfb82acd3129f0e6596e9a3d42546f4c2ce001248e'
+ '8814f2fa087b6f36ad40418d0de6cee00b6f6654439a3a84b0ea09921d22c8e4ae1ae8c4897ddd40808bb9d76f2d0288b8ede05f94fbead80e4974ab9ba6e70a'
+ 'c243a16b2f7db18119b7e2161e3c4f6cbdd2965645a6a766b086196fa24d35b4426fc9ac789cea815d5061ef7aa5c1dd909840957bf06d0a065fb35bafa7be68')
+build() {
+ cd liberation-fonts-$pkgver
+ make
+}
+
package() {
- cd "$srcdir/liberation-fonts-ttf-$pkgver"
+ cd liberation-fonts-$pkgver
- install -d "$pkgdir/usr/share/fonts/TTF/"
- install -m644 *.ttf "$pkgdir/usr/share/fonts/TTF/"
+ install -Dm644 -t "$pkgdir/usr/share/fonts/TTF" \
+ liberation-fonts-ttf-$pkgver/*.ttf
# install fontconfig files
- install -Dm0644 ../30-0-liberation-mono.conf "$pkgdir/etc/fonts/conf.avail/30-$pkgname-mono.conf"
- install -Dm0644 ../30-0-liberation-sans.conf "$pkgdir/etc/fonts/conf.avail/30-$pkgname-sans.conf"
- install -Dm0644 ../30-0-liberation-serif.conf \
+ install -Dm644 ../30-0-liberation-mono.conf \
+ "$pkgdir/etc/fonts/conf.avail/30-$pkgname-mono.conf"
+ install -Dm644 ../30-0-liberation-sans.conf \
+ "$pkgdir/etc/fonts/conf.avail/30-$pkgname-sans.conf"
+ install -Dm644 ../30-0-liberation-serif.conf \
"$pkgdir/etc/fonts/conf.avail/30-$pkgname-serif.conf"
# install license
- install -Dm644 "${srcdir}/liberation-fonts-ttf-${pkgver}/LICENSE" \
- "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
More information about the arch-commits
mailing list