New package: libxlsxwriter-0.7.7

This commit is contained in:
Andrew Benson 2018-06-19 11:32:35 -05:00 committed by Leah Neukirchen
parent 9752201501
commit fb61123071
3 changed files with 35 additions and 0 deletions

View File

@ -151,6 +151,7 @@ librsvg-2.so.2 librsvg-2.26.0_1
libdbus-1.so.3 dbus-libs-1.2.10_1
libdbus-glib-1.so.2 dbus-glib-0.80_1
libxml2.so.2 libxml2-2.7.0_1
libxlsxwriter.so.0 libxlsxwriter-0.7.7_1
libfuse.so.2 fuse-2.8.1_1
libfuse3.so.3 fuse3-3.1.0_1
libXext.so.6 libXext-1.0.5_1

1
srcpkgs/libxlsxwriter-devel Symbolic link
View File

@ -0,0 +1 @@
libxlsxwriter

View File

@ -0,0 +1,33 @@
# Template file for 'libxlsxwriter'
pkgname=libxlsxwriter
version=0.7.7
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
wrksrc="${pkgname}-RELEASE_${version}"
makedepends="zlib-devel"
short_desc="Library for creating Excel XLSX files"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="BSD-2-Clause"
homepage="https://libxlsxwriter.github.io/"
distfiles="https://github.com/jmcnamara/libxlsxwriter/archive/RELEASE_${version}.tar.gz"
checksum=cce28d1a7e7887b105c7b0fd20b7be84f62070569f7a28e7779ceaec6be3847b
pre_configure() {
sed -i "/^add_library/a set_target_properties(\${PROJECT_NAME} \
PROPERTIES VERSION ${version} SOVERSION ${version%%.*})" \
CMakeLists.txt
}
post_install() {
vlicense License.txt
}
libxlsxwriter-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "/usr/lib/*.so"
}
}