summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCaleb Maclennan2022-05-07 19:16:50 +0300
committerCaleb Maclennan2022-05-07 19:16:50 +0300
commitd0398a51e952f2643eb3a36cf53ef37aeb38f7e4 (patch)
tree198a60f0efdc00eeef8d0b107cd138499b653aa4 /PKGBUILD
parent8589df56330c787cf2f549da8a08d8b469df9938 (diff)
downloadaur-emberly-font.tar.gz
upgpkg: emberly-font 1.3-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD43
1 files changed, 22 insertions, 21 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c8f0e01151e..e5cc59a5eb1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,39 +4,40 @@ _name=emberly
pkgbase=$_name-font
pkgname=(otf-$_name ttf-$_name otf-$_name-variable ttf-$_name-variable)
pkgver=1.3
-pkgrel=1
+pkgrel=2
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')
+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")
+_archive="${_name^} v$pkgver"
+source=("file://$_archive.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
+ provides=("$pkgbase")
+ cd "$_archive"
+ install -Dm0644 -t "$pkgdir/usr/share/fonts/OTF/" OTF/*.otf
+ install -Dm0644 -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
+ provides=("$pkgbase")
+ cd "$_archive"
+ install -Dm0644 -t "$pkgdir/usr/share/fonts/TTF/" TTF/*.ttf
+ install -Dm0644 -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
+ provides=("$pkgbase-variable")
+ cd "$_archive"
+ install -Dm0644 -t "$pkgdir/usr/share/fonts/OTF/" Variables/*.otf
+ install -Dm0644 -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
+ provides=("$pkgbase-variable")
+ cd "$_archive"
+ install -Dm0644 -t "$pkgdir/usr/share/fonts/TTF/" Variables/*.ttf
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
}