diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 33 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8824c5564670 --- /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 000000000000..ef087f2c6ad1 --- /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 +} |