diff options
author | Karim Abou Zeid | 2024-07-22 16:34:53 +0200 |
---|---|---|
committer | Karim Abou Zeid | 2024-07-22 16:34:53 +0200 |
commit | 135724499471f2cbad225a51d3e961aa0997a858 (patch) | |
tree | d919b540dde5275bb595411622beefddf8b3b708 | |
parent | 1ea4bd4fbfa79e99bd56863f11ce11b4e19e27ea (diff) | |
download | aur-135724499471f2cbad225a51d3e961aa0997a858.tar.gz |
fix: missing dist dir in sources
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 9 insertions, 2 deletions
@@ -6,6 +6,7 @@ pkgbase = vscode-codicons-git arch = any license = custom:Creative Commons Attribution 4.0 International Public License makedepends = git + makedepends = npm source = git+https://github.com/microsoft/vscode-codicons.git md5sums = SKIP @@ -1,13 +1,13 @@ # Maintainer: Karim Abou Zeid <karim23697 at gmail dot tld> pkgname=vscode-codicons-git -pkgver=0.0.25.r14.aeba110 +pkgver=0.0.35.r49.eaa0306 pkgrel=1 pkgdesc="The icon font for Visual Studio Code" arch=(any) url="https://microsoft.github.io/vscode-codicons/dist/codicon.html" license=('custom:Creative Commons Attribution 4.0 International Public License') -makedepends=('git') +makedepends=('git' 'npm') source=('git+https://github.com/microsoft/vscode-codicons.git') md5sums=('SKIP') @@ -16,6 +16,12 @@ pkgver() { printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" } +build() { + cd "$srcdir/vscode-codicons" + npm install + npm run build +} + package() { cd "$srcdir/vscode-codicons" install -Dm644 "dist/codicon.ttf" -t "$pkgdir/usr/share/fonts/vscode-codicons" |