summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCaleb Maclennan2021-12-15 23:15:53 +0300
committerCaleb Maclennan2021-12-15 23:15:53 +0300
commita18fa19733ddb763d167b4efd132add5e5d24313 (patch)
treea01da7e0bfe94701d47e31e9cd2d6a52d9a96578 /PKGBUILD
parentdc8b79d356a07370d167a0e9b5c255b3daedd31f (diff)
downloadaur-a18fa19733ddb763d167b4efd132add5e5d24313.tar.gz
upgpkg: chomsky-font 2.3-1
upstream release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 9 insertions, 8 deletions
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
}