diff options
author | Emil Velikov | 2021-05-15 20:55:28 +0100 |
---|---|---|
committer | Emil Velikov | 2021-05-16 11:54:08 +0100 |
commit | 2d868dafca514670a2dd39ce7dfc325729a249c1 (patch) | |
tree | f61d44fc3f3d4107a0bcd51f5705dcf09d30d150 /PKGBUILD | |
parent | 70de951455c9865d8ad9d0b222ba6f1820720634 (diff) | |
download | aur-2d868dafca514670a2dd39ce7dfc325729a249c1.tar.gz |
ttf-karla 1:2.002-1: upstream release
Stop tracking the Collabora/Debian thingy - it's way too old.
In particular, use the upstream repo and the (semi) official 2.002.
Add epoch (we used year-based version before), fixup the URLs and adjust
for the correct font filenames.
Also: add provides and sha512sum.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -1,20 +1,27 @@ # Author: Maxime “pep” Buquet <archlinux@bouah.net> +# There is no versioning in-repo, although there is some upon import into the +# lerger repo https://github.com/google/fonts. For example: +# https://github.com/google/fonts/commit/568985dba2cc5bf58d9f59af93fd5a5faea610ff + _pkgbase=karla +_commit=1bd63a928e0f1122373b2a3dfe6c82cdb20569b3 pkgname=ttf-karla -pkgver=20160111 +pkgver=2.002 pkgrel=1 +epoch=1 pkgdesc="Grotesque Sans Serif Latin typeface" arch=('any') license=('custom:OFL') url=https://gitlab.collabora.com/collabora/fonts-karla -source=("$_pkgbase::git+https://gitlab.collabora.com/collabora/fonts-karla.git#tag=upstream/${pkgver}") -sha512sums=('SKIP') +source=("$_pkgbase-$_commit.tar.gz::https://github.com/googlefonts/karla/archive/$_commit.tar.gz") +sha512sums=('3d8ea03a7e6530ede46e27f261639b105fd5c5c5e3108b98f982271479f29b0d2b47c0e7e2c6f941e742767382f0814d6e472bf28ff7d4b1419f316bc1714516') +provides=(ttf-font) package() { - cd "$srcdir/$_pkgbase" + cd "$srcdir/$_pkgbase-$_commit" install -dm755 "$pkgdir/usr/share/fonts/TTF" - install -m644 Karla-{Bold,BoldItalic,Italic,Regular}.ttf "$pkgdir/usr/share/fonts/TTF" + install -m644 fonts/ttf/static/Karla-{Bold,ExtraBold,ExtraLight,Light,Medium,Regular}.ttf "$pkgdir/usr/share/fonts/TTF" install -D -m644 OFL.txt "$pkgdir/usr/share/licenses/ttf-karla/LICENSE" } |