libxls: update to 1.5.0.

This commit is contained in:
Piotr Wójcik 2019-02-18 16:20:47 +01:00 committed by maxice8
parent bc09d1d4d4
commit 36ffd77a3d
1 changed files with 10 additions and 12 deletions

View File

@ -1,20 +1,18 @@
# Template file for 'libxls'
pkgname=libxls
version=1.4.0
version=1.5.0
revision=1
wrksrc="libxls"
build_style=gnu-configure
configure_args="--program-prefix=lib"
configure_args="--program-prefix=lib --enable-static"
short_desc="C library which can read Excel (xls) files"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
hostmakedepends="unzip"
license="2-clause-BSD"
homepage="http://libxls.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.zip"
checksum=d3baea458a511d9b587a367528fa2a7fef410113ac9f6359834469b8f8d10dbd
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-2-clause"
homepage="https://github.com/libxls/libxls"
distfiles="https://github.com/libxls/libxls/releases/download/v${version}/libxls-${version}.tar.gz"
checksum=c53a55187aeb0545e6fb5cfc89ad9521af80b1afc7eff407ac94c1bd59a64202
post_install() {
sed '/^$/q' include/libxls/xls.h >LICENSE
sed '/^$/q' include/xls.h >LICENSE
vlicense LICENSE
}
libxls-devel_package() {
@ -22,7 +20,7 @@ libxls-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/*.a
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}