void-packages/srcpkgs/libdatrie/template

23 lines
699 B
Bash

# Template file for 'libdatrie'
pkgname=libdatrie
version=0.2.11
revision=1
build_style=gnu-configure
short_desc="Implementation of double-array structure for representing trie"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="LGPL-2.1-or-later"
homepage="https://linux.thai.net/projects/datrie"
distfiles="https://linux.thai.net/pub/ThaiLinux/software/libthai/libdatrie-${version}.tar.xz"
checksum=547c7bd2ab9e10ad65f3270cae8ca7027f52db9c30f7327d24354ad41a98e94b
libdatrie-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}