Skip to content

Commit

Permalink
Use new plan names in pkgbuild template
Browse files Browse the repository at this point in the history
  • Loading branch information
AndydeCleyre committed Nov 14, 2023
1 parent 4068fee commit f5ee251
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/PKGBUILD.wz
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
if spacing == 'normal':
spacing = ''
name = '-'.join(filter(None, ('ttf-iosevka', spacing, 'custom')))
plan = f"Iosevka{spacing.title()}Custom"
)\
# Maintainer: Andy Kluger <https://t.me/andykluger>
# Contributor: Markus Weimar <mail@@markusweimar.de>
Expand Down Expand Up @@ -46,7 +47,7 @@ build () {
cd Iosevka
npm install
npm update
NO_COLOR=1 npm run build -- @{build_webfonts and 'contents' or 'ttf'}::${_pkgname#*-}
NO_COLOR=1 npm run build -- @{build_webfonts and 'contents' or 'ttf'}::@{plan}
}

package () {
Expand Down

0 comments on commit f5ee251

Please sign in to comment.