summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD10
3 files changed, 9 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index aa899281226b..7a6b58041939 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = otf-bodoni
pkgdesc = An OpenType Bodoni revival created by indestructible type*.
- pkgver = 2.0
+ pkgver = 2.1
pkgrel = 1
url = https://indestructibletype.com/Bodoni.html
arch = any
license = custom:OFL
depends = fontconfig
- source = https://indestructibletype.com/Bodoni.zip
- sha256sums = d8e61cb93c475e933589398f88815820b714df8e4a2971c4b220bd51be7fced2
+ source = https://github.com/indestructible-type/Bodoni/archive/2.1.tar.gz
+ sha256sums = 63bb89966c21232defe7ca834240883262b4f856a7ea7472ea4ec915549554f6
pkgname = otf-bodoni
diff --git a/.gitignore b/.gitignore
index 43fb43f49b7c..91066523aca4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
pkg/
src/
*.zip
+*.tar.gz
otf-bodoni-*.xz
diff --git a/PKGBUILD b/PKGBUILD
index 59d0de8bf9b3..a4c4fd9d8a37 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,17 @@
pkgname=otf-bodoni
-pkgver=2.0
+pkgver=2.1
pkgrel=1
pkgdesc="An OpenType Bodoni revival created by indestructible type*."
arch=('any')
url="https://indestructibletype.com/Bodoni.html"
license=('custom:OFL')
depends=('fontconfig')
-source=("https://indestructibletype.com/Bodoni.zip")
-sha256sums=('d8e61cb93c475e933589398f88815820b714df8e4a2971c4b220bd51be7fced2')
+source=("https://github.com/indestructible-type/Bodoni/archive/$pkgver.tar.gz")
+sha256sums=('63bb89966c21232defe7ca834240883262b4f856a7ea7472ea4ec915549554f6')
package() {
-
install -d "$pkgdir/usr/share/fonts/bodoni"
- install -m644 OpenType/*.otf "$pkgdir/usr/share/fonts/bodoni/"
+ cd "$srcdir/Bodoni-$pkgver"
+ install -m644 fonts/otf/*.otf "$pkgdir/usr/share/fonts/bodoni/"
install -Dm644 "LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
}