34 lines
898 B
Bash
34 lines
898 B
Bash
# Template file for 'libredwg'
|
|
pkgname=libredwg
|
|
version=0.10.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-bindings"
|
|
hostmakedepends="pkg-config python3"
|
|
makedepends="pcre2-devel"
|
|
short_desc="Free library to handle DWG files"
|
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://www.gnu.org/software/libredwg/"
|
|
distfiles="https://github.com/LibreDWG/libredwg/releases/download/${version}/libredwg-${version}.tar.xz"
|
|
checksum=c5f9b843ab2e52d9717df5d2257a7415b8d16c1d872ad4b19f8b2802433d7cfe
|
|
|
|
libredwg-tools_package() {
|
|
short_desc+=" - utilities"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
vmove usr/share/man/man1
|
|
}
|
|
}
|
|
|
|
libredwg-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*a"
|
|
}
|
|
}
|