diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -3,16 +3,20 @@ pkgname=ttf-sarasa-gothic pkgver=0.10.0 -pkgrel=1 -pkgdesc="A Chinese & Japanese programming font based on Iosevka and Source Han Sans (TTC)" +pkgrel=2 +pkgdesc="A CJK programming font based on Iosevka and Source Han Sans. (TTC)" arch=('any') url="https://github.com/be5invis/Sarasa-Gothic" license=('custom:SIL Open Font License v1.1') depends=('fontconfig' 'xorg-font-utils') -source=("https://github.com/be5invis/Sarasa-Gothic/releases/download/v$pkgver/sarasa-gothic-ttc-$pkgver.7z" - 'https://raw.githubusercontent.com/be5invis/Sarasa-Gothic/master/LICENSE') -sha256sums=('2a8cad733d706b4f1677f91a1d9e97434c00583b662823692358edc90762eabc' - '07e26208b78894948573d001a0133a8d071e161eba6ae65e2ab521fef311a429') +makedepends=('curl') +source=("https://github.com/be5invis/Sarasa-Gothic/releases/download/v$pkgver/sarasa-gothic-ttc-$pkgver.7z") +sha256sums=('2a8cad733d706b4f1677f91a1d9e97434c00583b662823692358edc90762eabc') + +prepare() { + cd "$srcdir" + curl -O 'https://raw.githubusercontent.com/be5invis/Sarasa-Gothic/master/LICENSE' +} package() { install -d "$pkgdir/usr/share/fonts/${pkgname:4}" |