Date: Sunday, October 23, 2022 @ 18:47:11
Author: blakkheim
Revision: 1334361
archrelease: copy trunk to community-any
Added:
ttf-ubuntumono-nerd/repos/community-any/
ttf-ubuntumono-nerd/repos/community-any/PKGBUILD
(from rev 1334360, ttf-ubuntumono-nerd/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: ttf-ubuntumono-nerd/repos/community-any/PKGBUILD (from rev 1334360,
ttf-ubuntumono-nerd/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2022-10-23 18:47:11 UTC (rev 1334361)
@@ -0,0 +1,26 @@
+# Maintainer: T.J. Townsend <[email protected]>
+# Contributor: Agustin Carrasco <asermax at gmail dot com>
+
+pkgname=ttf-ubuntumono-nerd
+pkgver=2.2.2
+pkgrel=3
+pkgdesc="Patched font Ubuntu Mono from nerd-fonts library"
+arch=("any")
+url="https://github.com/ryanoasis/nerd-fonts"
+license=("MIT")
+provides=(ttf-font-nerd)
+conflicts=(nerd-fonts-ubuntu-mono)
+replaces=(nerd-fonts-ubuntu-mono)
+source=("ubuntumono-${pkgver}.zip::${url}/releases/download/v${pkgver}/UbuntuMono.zip"
+ "LICENSE-${pkgver}::${url}/raw/v${pkgver}/LICENSE")
+sha256sums=('6a5b0cf6ec7c20c93d3854d0ffa1f0944ad18d11b6574d057b401ece63f64c56'
+ '245b522abb5aba0d8e84898bf6d5e95102620637626106bfd0061189a2370360')
+
+prepare() {
+ find "${srcdir}" -name '*Windows*' -delete
+}
+
+package() {
+ install -Dm644 *.ttf -t "${pkgdir}/usr/share/fonts/TTF"
+ install -Dm644 LICENSE-${pkgver}
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}