void-packages/srcpkgs/argtable/template
Đoàn Trần Công Danh fe0f582d33 argtable: remove noarch
2020-11-21 17:18:17 +07:00

32 lines
821 B
Bash

# Template file for 'argtable'
pkgname=argtable
version=2.13
revision=2
wrksrc="${pkgname}${version//./-}"
build_style=gnu-configure
short_desc="ANSI C command line parser"
maintainer="Simon Whelan <si.whelan@gmail.com>"
license="LGPL-2.0-or-later"
homepage="http://argtable.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/argtable/argtable2-13.tar.gz"
checksum=8f77e8a7ced5301af6e22f47302fdbc3b1ff41f2b83c43c77ae5ca041771ddbf
argtable-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/*.a
vmove usr/lib/pkgconfig
vmove usr/share/man
}
}
argtable-doc_package() {
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}