01e60af0cf
- 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.
20 lines
645 B
Bash
20 lines
645 B
Bash
# Template file for 'font-Hasklig'
|
|
pkgname=font-Hasklig
|
|
version=1.2
|
|
revision=1
|
|
create_wrksrc=yes
|
|
depends="font-util xbps-triggers"
|
|
short_desc="Monospaced font with ligatures"
|
|
maintainer="mobinmob <mobinmob@disroot.org>"
|
|
license="OFL-1.1"
|
|
homepage="https://github.com/i-tu/Hasklig/"
|
|
changelog="https://raw.githubusercontent.com/i-tu/Hasklig/main/CHANGELOG.md"
|
|
distfiles="https://github.com/i-tu/Hasklig/releases/download/v${version}/Hasklig-${version}.zip"
|
|
checksum=9cd35a7449b220dc84f9516c57817e147003fc905a477f1ec727816d9d8a81d4
|
|
|
|
font_dirs="/usr/share/fonts/OTF"
|
|
|
|
do_install() {
|
|
vmkdir usr/share/fonts/OTF
|
|
vcopy "OTF/*" usr/share/fonts/OTF
|
|
}
|