Skip to content

Commit 51d6599

Browse files
committed
replace fira nerd font
1 parent 29732d2 commit 51d6599

File tree

3 files changed

+15
-45
lines changed

3 files changed

+15
-45
lines changed

packages/instantfonts/PKGBUILD

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,29 @@
11
# Maintainer: paperbenni <[email protected]>
22
_pkgname=instantfonts
33
pkgname=$_pkgname
4-
pkgver=3.0.2
4+
pkgver=3.4.0
55
pkgrel=1
6-
pkgdesc="patched fonts for instantOS"
6+
pkgdesc="meta package for instantOS fonts using official nerd-fonts"
77
arch=('any')
88
license=('MIT')
9-
depends=('sh')
10-
makedepends=('wget' 'git' 'atool')
9+
depends=('ttf-firacode-nerd'
10+
'otf-source-code-pro-nerd')
11+
makedepends=('bash' 'git')
1112
provides=(instantfonts)
1213
conflicts=(instantfonts)
14+
source=("$_pkgname::git+https://github.com/instantOS/instantMETA.git")
1315

14-
set -e
16+
sha256sums=('SKIP')
1517

16-
prepare() {
17-
mkdir -p $_pkgname
18-
cd "$_pkgname"
19-
}
20-
21-
build() {
22-
cd "$_pkgname"
23-
echo "fetching fonts"
24-
wget -q "https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/SourceCodePro.tar.xz"
25-
atool -x ./*.tar.xz
18+
pkgver() {
19+
cd $_pkgname
20+
echo "$(date '+%Y%m%d%H%M')"
2621
}
2722

2823
package() {
2924
cd $_pkgname
30-
mkdir -p "${pkgdir}"/usr/share/fonts/instantfonts
31-
mv ./*/*.ttf .
32-
chmod 644 ./*.ttf
33-
mv ./*.ttf "${pkgdir}"/usr/share/fonts/instantfonts/
25+
mkdir -p ${pkgdir}/usr/share/instantos
26+
echo 'instantfonts' >${pkgdir}/usr/share/instantos/fonts
27+
curl -s https://raw.githubusercontent.com/instantOS/instantOS/refs/heads/main/LICENSE >LICENSE
28+
install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
3429
}

packages/instantos/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ package() {
3232
'instantwidgets'
3333
'instantcursors'
3434
'instantshell'
35-
'ttf-nerd-fonts-fira-code'
35+
'ttf-firacode-nerd'
3636
'instantconf'
3737
'instantwm'
3838
'instantlock'

packages/ttf-nerd-fonts-fira-code/PKGBUILD

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)