summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Ruiz Safont2024-03-16 09:35:51 +0000
committerPau Ruiz Safont2024-03-16 09:35:51 +0000
commitff677ac5ad1b9656b42f0fa86a8d097c8e3883f5 (patch)
tree477d7e01ea2a2a98b415051e1d7c6f40ce80ae17
parentd1fc5203d83bc3d849ea34fdff2265292919ac86 (diff)
downloadaur-ff677ac5ad1b9656b42f0fa86a8d097c8e3883f5.tar.gz
Fix builds, internal directory changed
Issue reported by user ChongChengAC
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4921142a26c7..70ae40d581a8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = yanone-kaffeesatz-font
pkgdesc = Reminiscent of 1920s coffee house typography, bridges the gap to present times
pkgver = 2.001
- pkgrel = 3
+ pkgrel = 4
url = https://www.yanone.de/fonts/kaffeesatz
arch = any
license = OFL
diff --git a/PKGBUILD b/PKGBUILD
index 6738aa631707..62d6cfa6afff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgbase=$_font-font
pkgname=(otf-$_font{,-infinality} ttf-$_font{,-infinality})
pkgver=2.001
_sha=342dc8badffc187b2116099c5060e46c81eaf80d
-pkgrel=3
+pkgrel=4
pkgdesc='Reminiscent of 1920s coffee house typography, bridges the gap to present times'
url='https://www.yanone.de/fonts/kaffeesatz'
arch=('any')
@@ -25,7 +25,7 @@ package_otf-yanone-kaffeesatz() {
provides=("$pkgbase")
conflicts=("$pkgname-ibx<2")
pkgdesc+=' (OTF)'
- cd "$_font-$_sha"
+ cd "${_font##*-}-$_sha"
install -Dm644 -t "$pkgdir/usr/share/fonts/OTF/" fonts/otf/*.otf
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" OFL.txt CONTRIBUTORS.txt
install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname/" AUTHORS.txt README.md
@@ -35,7 +35,7 @@ package_ttf-yanone-kaffeesatz() {
provides=("$pkgbase")
conflicts=("$pkgname-ibx<2")
pkgdesc+=' (TTF)'
- cd "$_font-$_sha"
+ cd "${_font##*-}-$_sha"
install -Dm644 -t "$pkgdir/usr/share/fonts/TTF/" fonts/ttf/*.ttf
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" OFL.txt CONTRIBUTORS.txt
install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname/" AUTHORS.txt README.md