diff options
author | T.J. Townsend | 2022-09-13 10:15:43 -0400 |
---|---|---|
committer | T.J. Townsend | 2022-09-13 10:15:43 -0400 |
commit | 45b4ddadf194594263a46ecb151573e94f53a37a (patch) | |
tree | b5e3b31847084bfd491810aa4a82c551744f8b99 | |
parent | b62920dacd69c7fe8aabbf046c16a73088925e3f (diff) | |
download | aur-45b4ddadf194594263a46ecb151573e94f53a37a.tar.gz |
drop unneeded makedepends and tidy up
no functional change
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 5 insertions, 6 deletions
@@ -5,9 +5,6 @@ pkgbase = nerd-fonts-arimo url = https://github.com/ryanoasis/nerd-fonts arch = any license = MIT - makedepends = fontconfig - makedepends = xorg-mkfontscale - makedepends = xorg-mkfontdir source = arimo-2.2.2.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v2.2.2/Arimo.zip source = https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v2.2.2/LICENSE sha256sums = 38d274f9fd7e0eae3298789877c9cbfa25278b445bd1053e952fe0fb74806d5c @@ -8,14 +8,16 @@ pkgdesc="Patched font Arimo from nerd-fonts library" arch=("any") url="https://github.com/ryanoasis/nerd-fonts" license=("MIT") -makedepends=("fontconfig" "xorg-mkfontscale" "xorg-mkfontdir") -source=("arimo-${pkgver}.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v${pkgver}/Arimo.zip" +source=("arimo-${pkgver}.zip::${url}/releases/download/v${pkgver}/Arimo.zip" "https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${pkgver}/LICENSE") sha256sums=('38d274f9fd7e0eae3298789877c9cbfa25278b445bd1053e952fe0fb74806d5c' '245b522abb5aba0d8e84898bf6d5e95102620637626106bfd0061189a2370360') +prepare() { + find "${srcdir}" -name '*Windows*' -delete +} + package() { - rm "${srcdir}/"*"Windows Compatible.ttf" install -Dm644 "${srcdir}/"*.ttf -t "${pkgdir}/usr/share/fonts/TTF" install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" } |