Date: Monday, October 14, 2019 @ 21:31:01 Author: jleclanche Revision: 515928
ttf-cascadia-code: Moved from AUR Added: ttf-cascadia-code/ ttf-cascadia-code/repos/ ttf-cascadia-code/trunk/ ttf-cascadia-code/trunk/PKGBUILD ----------+ PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) Added: ttf-cascadia-code/trunk/PKGBUILD =================================================================== --- ttf-cascadia-code/trunk/PKGBUILD (rev 0) +++ ttf-cascadia-code/trunk/PKGBUILD 2019-10-14 21:31:01 UTC (rev 515928) @@ -0,0 +1,26 @@ +# Maintainer: Jerome Leclanche <jer...@leclan.ch> + +pkgname=ttf-cascadia-code +_pkgname=cascadia-code +pkgver=1910.04 +pkgrel=1 +pkgdesc="A monospaced font by Microsoft that includes programming ligatures" +arch=("any") +url="https://github.com/microsoft/cascadia-code" +license=("custom:OFL") +depends=("fontconfig" "xorg-font-utils") + +source=( + "$pkgname-$pkgver.tar.gz::https://github.com/microsoft/cascadia-code/archive/v$pkgver.tar.gz" +) +sha256sums=( + "544ab759190f7dc2d16e9ad9d828fbf7eabf85aa55a159351250452187aa6d0f" +) + + +package() { + cd "$srcdir/$_pkgname-$pkgver" + + install -Dm644 "CascadiaCode-Regular-VTT.ttf" "$pkgdir/usr/share/fonts/TTF/Cascadia.ttf" + install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +}