summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCaleb Maclennan2020-08-24 10:07:54 +0300
committerCaleb Maclennan2020-08-24 10:07:54 +0300
commit8eb3cfa99b98ffea24dc0982c6a2d2a54ec0b6d1 (patch)
treea3b0b830c4a3d340f069eabeb0278b403fa989ce /PKGBUILD
downloadaur-8eb3cfa99b98ffea24dc0982c6a2d2a54ec0b6d1.tar.gz
Initial upload: chomsky-font 2.0-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ef087f2c6ad
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+
+_name=chomsky
+pkgbase=$_name-font
+pkgname=(otf-$_name)
+pkgver=2.0
+pkgrel=1
+pkgdesc='A font in the style of the New York Times masthead'
+arch=('any')
+url="https://github.com/ctrlcctrlv/$_name"
+license=('OFL')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('6bfe28d5a4892401d209eec55a3f57249d7b3ec0b094d86e8154c050c07e7e13')
+
+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
+}