diff options
author | GI_Jack | 2020-03-23 10:33:17 -0400 |
---|---|---|
committer | GI_Jack | 2020-03-23 10:33:17 -0400 |
commit | caea4f589f2a2f88d2fffdf1a6ffeb39be19844a (patch) | |
tree | 3a66952b7faee9570879269df51ee8e3f6a17c77 /PKGBUILD | |
parent | ddc4a64550fc3afbe4ae27be41474af3b578b66a (diff) | |
download | aur-caea4f589f2a2f88d2fffdf1a6ffeb39be19844a.tar.gz |
fixed variables and paths
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -2,7 +2,6 @@ pkgbase="ferrite-core" pkgname=("otf-${pkgbase}" "ttf-${pkgbase}") -_pkgname=ferrite-core pkgver=2.0 pkgrel=1 pkgdesc="Ferrite Core DX font family by Froyo Tam(Meta-package with TTF and OTF variants)" @@ -10,13 +9,13 @@ arch=('any') url="https://github.com/froyotam/ferrite-core/" license=('Custom') install= -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/froyotam/ferrite-core/archive/${pkgver}.tar.gz") +source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/froyotam/ferrite-core/archive/${pkgver}.tar.gz") noextract=() sha256sums=('3ecd9c181e746bd2b92c5fc429cfb0a3a61456637ab5a5d6d4d46dd0ca96c7ba') package_ttf-ferrite-core() { conflicts=("ttf-ferrite-core-git") - cd "${_pkgname}-${pkgver}" + cd "${pkgbase}-${pkgver}" install -Dm644 OFL.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 fonts/ttf/FerriteCore-Regular.ttf "${pkgdir}/usr/share/fonts/TTF/FerriteCore-Regular.ttf" install -Dm644 fonts/ttf/FerriteCoreDX-Regular.ttf "${pkgdir}/usr/share/fonts/TTF/FerriteCoreDX-Regular.ttf" @@ -27,7 +26,7 @@ package_ttf-ferrite-core() { } package_otf-ferrite-core() { - cd "${_pkgname}-${pkgver}" + cd "${pkgbase}-${pkgver}" install -Dm644 OFL.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 fonts/otf/FerriteCore-Regular.otf "${pkgdir}/usr/share/fonts/OTF/FerriteCore-Regular.otf" install -Dm644 fonts/otf/FerriteCoreDX-Regular.otf "${pkgdir}/usr/share/fonts/OTF/FerriteCoreDX-Regular.otf" |