summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCaleb Maclennan2020-05-25 10:33:59 +0300
committerCaleb Maclennan2020-05-25 11:07:21 +0300
commit8589df56330c787cf2f549da8a08d8b469df9938 (patch)
tree20b156637b09abc6942886e1bbb89a43f53e3bfd /PKGBUILD
downloadaur-8589df56330c787cf2f549da8a08d8b469df9938.tar.gz
Initial upload: emberly-font 1.3-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c8f0e01151e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+
+_name=emberly
+pkgbase=$_name-font
+pkgname=(otf-$_name ttf-$_name otf-$_name-variable ttf-$_name-variable)
+pkgver=1.3
+pkgrel=1
+pkgdesc='A display font inspired by the Didone style created by Rajesh Rajput'
+arch=('any')
+url="https://www.behance.net/gallery/87667103/Emberly-Free-Typeface-54-Styles"
+license=('OFL')
+# Download is $0 purchase but requires email: https://gumroad.com/l/XTAeN
+source=("file://${_name^} v$pkgver.zip")
+sha256sums=('e8494cdafd3fd306a4965617413e628e1ae42c884c0c37006f1bdd411530669f')
+
+package_otf-emberly() {
+ provides=("$pkgbase")
+ cd "${_name^} v$pkgver"
+ install -Dm644 -t "$pkgdir/usr/share/fonts/OTF/" OTF/*.otf
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
+}
+
+package_ttf-emberly() {
+ provides=("$pkgbase")
+ cd "${_name^} v$pkgver"
+ install -Dm644 -t "$pkgdir/usr/share/fonts/TTF/" TTF/*.ttf
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
+}
+
+package_otf-emberly-variable() {
+ provides=("$pkgbase-variable")
+ cd "${_name^} v$pkgver"
+ install -Dm644 -t "$pkgdir/usr/share/fonts/OTF/" Variables/*.otf
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
+}
+
+package_ttf-emberly-variable() {
+ provides=("$pkgbase-variable")
+ cd "${_name^} v$pkgver"
+ install -Dm644 -t "$pkgdir/usr/share/fonts/TTF/" Variables/*.ttf
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
+}