diff options
author | Andrej Radovic | 2020-01-23 18:49:18 +0100 |
---|---|---|
committer | Andrej Radovic | 2020-01-23 18:49:18 +0100 |
commit | cb6ad252d366c2d110430cd0866fa59140143a6e (patch) | |
tree | 5e644db6a9deaffee5892df4c33b39ea4cdc3e03 | |
download | aur-cb6ad252d366c2d110430cd0866fa59140143a6e.tar.gz |
Initial commit.
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 22 | ||||
-rw-r--r-- | ttf-news-cycle.install | 13 |
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d2a95389a6a5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = ttf-news-cycle + pkgdesc = A realist sans-serif typeface based on ATF's 1908 News Gothic. + pkgver = 0.5.2 + pkgrel = 1 + url = https://www.glyphography.com/fonts/ + install = ttf-news-cycle.install + arch = any + license = custom:OFL + depends = fontconfig + source = https://launchpad.net/newscycle/trunk/0.5.2/+download/newscycle-0.5.2.zip + sha1sums = 2e249f434e8192cbd859d7cfbc6985096ec22765 + +pkgname = ttf-news-cycle + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ea7f4d43f6c6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Andrej Radović (r.andrej@gmail.com) + +pkgname=ttf-news-cycle +pkgver=0.5.2 +pkgrel=1 +depends=('fontconfig') +pkgdesc="A realist sans-serif typeface based on ATF's 1908 News Gothic." +url="https://www.glyphography.com/fonts/" +arch=('any') +license=('custom:OFL') +install=$pkgname.install +source=(https://launchpad.net/newscycle/trunk/${pkgver}/+download/newscycle-${pkgver}.zip) +sha1sums=('2e249f434e8192cbd859d7cfbc6985096ec22765') + +package() { + cd newscycle-${pkgver} + install -m755 -d "${pkgdir}/usr/share/fonts/${pkgname}" + install -m644 *.ttf "${pkgdir}/usr/share/fonts/${pkgname}" + + install -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 OFL.txt "${pkgdir}/usr/share/licenses/${pkgname}/" +} diff --git a/ttf-news-cycle.install b/ttf-news-cycle.install new file mode 100644 index 000000000000..490afd028608 --- /dev/null +++ b/ttf-news-cycle.install @@ -0,0 +1,13 @@ +post_install() { + echo "Updating font cache..." + fc-cache -s + echo "Done." +} + +post_upgrade() { + post_install "$1" +} + +post_remove() { + post_install "$1" +} |