summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3511eafd4e0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Vincevrp
+pkgname=nerd-fonts-arimo
+pkgver=2.0.0
+pkgrel=1
+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")
+install=$pkgname.install
+source=("https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/Arimo.zip"
+ "https://raw.githubusercontent.com/ryanoasis/nerd-fonts/$pkgver/LICENSE")
+sha256sums=("5b23a4607604cfecc7a4551fab86df86acd49c5ce8dfb93d51d195e6b7f0a09e"
+ "d2a29823384e9194a87936ccad495c764c2ef733b29bfa6f72a1d65803ce02e5")
+
+package() {
+ install -d "${pkgdir}/usr/share/fonts/TTF"
+ install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ rm "${srcdir}/"*"Windows Compatible.ttf"
+ install -Dm644 "${srcdir}/"*.ttf "${pkgdir}/usr/share/fonts/TTF"
+ install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}"
+}