summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD17
2 files changed, 12 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3dfd904114a..0c3e09d0ed8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,12 @@
pkgbase = chomsky-font
pkgdesc = A font in the style of the New York Times masthead
- pkgver = 2.2
+ pkgver = 2.3
pkgrel = 1
url = https://github.com/ctrlcctrlv/chomsky
arch = any
license = OFL
- source = otf-chomsky-2.2.tar.gz::https://github.com/ctrlcctrlv/chomsky/archive/v2.2.tar.gz
- sha256sums = e8218b6386788ee199c12431924a324e2e684be06ec77d2eaf518b0a04de09be
+ source = chomsky-2.3.tgz::https://github.com/ctrlcctrlv/chomsky/archive/v2.3.tar.gz
+ sha256sums = 23198f26aa149112914c0487ce5180921fedb869a40b1175f308ad577085d532
pkgname = otf-chomsky
provides = chomsky-font
-
diff --git a/PKGBUILD b/PKGBUILD
index 3f8158d5a6c..f1998fa4ba7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,18 +3,19 @@
_name=chomsky
pkgbase=$_name-font
pkgname=(otf-$_name)
-pkgver=2.2
+pkgver=2.3
pkgrel=1
pkgdesc='A font in the style of the New York Times masthead'
-arch=('any')
+arch=(any)
url="https://github.com/ctrlcctrlv/$_name"
-license=('OFL')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('e8218b6386788ee199c12431924a324e2e684be06ec77d2eaf518b0a04de09be')
+license=(OFL)
+_archive="$_name-$pkgver"
+source=("$_archive.tgz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('23198f26aa149112914c0487ce5180921fedb869a40b1175f308ad577085d532')
package_otf-chomsky() {
provides=("$pkgbase")
- cd "$_name-$pkgver"
- install -Dm644 -t "$pkgdir/usr/share/fonts/OTF/" dist/*.otf
- install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
+ cd "$_archive"
+ install -Dm0644 -t "$pkgdir/usr/share/fonts/OTF/" dist/*.otf
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
}