font-Hasklig: update to 1.2,

- remove unzip from hostmakedepends as bsdtar handles the zip distfile,
- fix the distfile url,
- add changelog,
- install correctly and only the OTF fonts,
- adopt the template.
This commit is contained in:
mobinmob 2021-04-01 14:50:06 +03:00 committed by Érico Nogueira Rolim
parent 974b23dc33
commit 01e60af0cf
1 changed files with 7 additions and 7 deletions

View File

@ -1,20 +1,20 @@
# Template file for 'font-Hasklig' # Template file for 'font-Hasklig'
pkgname=font-Hasklig pkgname=font-Hasklig
version=1.1 version=1.2
revision=2 revision=1
create_wrksrc=yes create_wrksrc=yes
hostmakedepends="unzip"
depends="font-util xbps-triggers" depends="font-util xbps-triggers"
short_desc="Monospaced font with ligatures" short_desc="Monospaced font with ligatures"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="mobinmob <mobinmob@disroot.org>"
license="OFL-1.1" license="OFL-1.1"
homepage="https://github.com/i-tu/Hasklig/" homepage="https://github.com/i-tu/Hasklig/"
distfiles="https://github.com/i-tu/Hasklig/releases/download/${version}/Hasklig-${version}.zip" changelog="https://raw.githubusercontent.com/i-tu/Hasklig/main/CHANGELOG.md"
checksum=98eccec22bc0ae3838a099a911230f62197e681b6a6c30e5149c52f5fc6a95c3 distfiles="https://github.com/i-tu/Hasklig/releases/download/v${version}/Hasklig-${version}.zip"
checksum=9cd35a7449b220dc84f9516c57817e147003fc905a477f1ec727816d9d8a81d4
font_dirs="/usr/share/fonts/OTF" font_dirs="/usr/share/fonts/OTF"
do_install() { do_install() {
vmkdir usr/share/fonts/OTF vmkdir usr/share/fonts/OTF
vcopy "*" usr/share/fonts/OTF vcopy "OTF/*" usr/share/fonts/OTF
} }