void-packages/srcpkgs/unicode-character-database/template

24 lines
666 B
Bash

# Template file for 'unicode-character-database'
pkgname=unicode-character-database
version=12.1.0
revision=1
create_wrksrc=yes
short_desc="Unicode Character Database"
maintainer="John <me@johnnynator.dev>"
license="Unicode-DFS-2016"
homepage="https://www.unicode.org/"
distfiles="https://www.unicode.org/Public/zipped/${version}/UCD.zip
https://www.unicode.org/Public/zipped/${version}/Unihan.zip"
checksum="25ba51a0d4c6fa41047b7a5e5733068d4a734588f055f61e85f450097834a0a6
6e4553f3b5fffe0d312df324d020ef1278d9595932ae03f4e8a2d427de83cdcd"
do_build() {
#compat symlinks
ln -s . ucd
}
do_install() {
vmkdir /usr/share/unicode/
vcopy "*" /usr/share/unicode/
}