diff options
author | Daniel Landau | 2017-08-01 13:58:34 +0300 |
---|---|---|
committer | Daniel Landau | 2017-08-01 13:58:34 +0300 |
commit | 3f74d743cb8fa6e86023005271221375457923e5 (patch) | |
tree | 5a73a8914bf244bfacf4c482028a5f76a06483cd | |
download | aur-3f74d743cb8fa6e86023005271221375457923e5.tar.gz |
Now font package based on otf-vollkorn package
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 22 | ||||
-rw-r--r-- | otf-now.install | 15 |
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bbc523ef38ba --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Tue Aug 1 10:58:09 UTC 2017 +pkgbase = otf-now + pkgdesc = Now typeface by Alfredo Marco Pradil (OpenType) + pkgver = 1 + pkgrel = 1 + url = https://fontlibrary.org/en/font/now + install = otf-now.install + arch = any + license = custom:SIL Open Font License + depends = fontconfig + depends = xorg-font-utils + source = https://fontlibrary.org/assets/downloads/now/92f81dc6f3ba4a48ba3e70f5e826207d/now.zip + sha512sums = 963899ef209fb9ccdc0548ee24710b43a6183f9b58224f6c3550ec00cb92a2c7d0930efa92aa90a0d3002814296ff86bfb02b9c630a62ceed72f1e233a105258 + +pkgname = otf-now + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..261b7dfb9af5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Daniel Landau <daniel@landau.fi> +# Contributor: Lucas Werkmeister <mail@lucaswerkmeister.de> +# Contributor: jdarch <jda -dot- cloud -plus- archlinux -at- gmail -dot- com> + +pkgname=otf-now +pkgdesc="Now typeface by Alfredo Marco Pradil (OpenType)" +url='https://fontlibrary.org/en/font/now' +license=('custom:SIL Open Font License') +pkgver=1 +pkgrel=1 +depends=('fontconfig' 'xorg-font-utils') +arch=('any') +install=$pkgname.install + +source=(https://fontlibrary.org/assets/downloads/now/92f81dc6f3ba4a48ba3e70f5e826207d/now.zip) +sha512sums=('963899ef209fb9ccdc0548ee24710b43a6183f9b58224f6c3550ec00cb92a2c7d0930efa92aa90a0d3002814296ff86bfb02b9c630a62ceed72f1e233a105258') + +package() { + install -d "${pkgdir}/usr/share/fonts/OTF" + install -m644 "${srcdir}/"*.otf "${pkgdir}/usr/share/fonts/OTF/" + install -D -m644 "${srcdir}/OFL-FAQ.txt" "${pkgdir}/usr/share/licenses/${pkgname}/OFL-FAQ.txt" +} diff --git a/otf-now.install b/otf-now.install new file mode 100644 index 000000000000..feb9bd7b5b8f --- /dev/null +++ b/otf-now.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -fs >/dev/null + mkfontscale /usr/share/fonts/OTF + mkfontdir /usr/share/fonts/OTF + echo "done" +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |