summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2019-08-26 08:31:32 +0300
committerCaleb Maclennan2019-08-26 08:31:32 +0300
commit3ad523066f5f7f9402f4539c4dd4f1d183a6ba07 (patch)
treeced5f874357c21f82298d2aec199a1a6c38b2924
parent4ea4e7abf1c6afe9fec364aa220f669ae07725fa (diff)
downloadaur-3ad523066f5f7f9402f4539c4dd4f1d183a6ba07.tar.gz
Cleanup bash shell quoting using shellharden
-rw-r--r--PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 28f6f481107..955722eee3c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,23 @@
# Maintainer: LightDot <lightdot -a-t- g m a i l>
_fnt_name=league-mono
-pkgname=ttf-${_fnt_name}
+pkgname=ttf-$_fnt_name
pkgver=20171115
pkgrel=1
pkgdesc="A mashup of sorts, inspired by some beautiful forms found in both Fira Mono, Libertinus Mono, and Courier."
arch=('any')
-url="http://theleagueofmoveabletype.com/${_fnt_name}"
+url="http://theleagueofmoveabletype.com/$_fnt_name"
license=('custom:OFL')
groups=('lmt-fonts')
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
-source=("$pkgname-$pkgver.zip::https://github.com/theleagueof/${_fnt_name}/archive/master.zip")
+source=("$pkgname-$pkgver.zip::https://github.com/theleagueof/$_fnt_name/archive/master.zip")
md5sums=('0e9214b72309aa04cfee76f5f8bb76cb')
package() {
- install -d ${pkgdir}/usr/share/fonts/OTF
- install -d ${pkgdir}/usr/share/fonts/TTF
- install -Dm644 ${srcdir}/${_fnt_name}-master/otf/*.otf ${pkgdir}/usr/share/fonts/OTF/
- install -Dm644 ${srcdir}/${_fnt_name}-master/ttf/*.ttf ${pkgdir}/usr/share/fonts/TTF/
+ install -d "$pkgdir"/usr/share/fonts/OTF
+ install -d "$pkgdir"/usr/share/fonts/TTF
+ install -Dm644 "$srcdir/$_fnt_name"-master/otf/*.otf "$pkgdir"/usr/share/fonts/OTF/
+ install -Dm644 "$srcdir/$_fnt_name"-master/ttf/*.ttf "$pkgdir"/usr/share/fonts/TTF/
- install -Dm644 ${srcdir}/${_fnt_name}-master/ofl.markdown ${pkgdir}/usr/share/licenses/${pkgname}/OFL.txt
+ install -Dm644 "$srcdir/$_fnt_name"-master/ofl.markdown "$pkgdir/usr/share/licenses/$pkgname"/OFL.txt
}