summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-08-24 10:07:54 +0300
committerCaleb Maclennan2020-08-24 10:07:54 +0300
commit8eb3cfa99b98ffea24dc0982c6a2d2a54ec0b6d1 (patch)
treea3b0b830c4a3d340f069eabeb0278b403fa989ce
downloadaur-8eb3cfa99b98ffea24dc0982c6a2d2a54ec0b6d1.tar.gz
Initial upload: chomsky-font 2.0-1
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD20
2 files changed, 33 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8824c556467
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = chomsky-font
+ pkgdesc = A font in the style of the New York Times masthead
+ pkgver = 2.0
+ pkgrel = 1
+ url = https://github.com/ctrlcctrlv/chomsky
+ arch = any
+ license = OFL
+ source = otf-chomsky-2.0.tar.gz::https://github.com/ctrlcctrlv/chomsky/archive/v2.0.tar.gz
+ sha256sums = 6bfe28d5a4892401d209eec55a3f57249d7b3ec0b094d86e8154c050c07e7e13
+
+pkgname = otf-chomsky
+ provides = chomsky-font
+
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
+}