# Template file for 'treesheets' pkgname=treesheets version=1.0.0 revision=6 build_style=gnu-makefile make_build_args="WX_CONFIG=wx-config-gtk3" makedepends="wxWidgets-gtk3-devel" short_desc="Free Form Data Organizer" maintainer="Piraty " license="Zlib" homepage="http://strlen.com/treesheets/" distfiles="https://github.com/aardappel/treesheets/archive/v${version}.tar.gz" checksum=13c01c48a6442e309e77126aeeed51d4e0a768ad808459c0dcd83ecc1d246c0f build_wrksrc="src" make_use_env=1 do_install() { sed \ -e "s|%PKGNAME%|${pkgname}|" \ -e "s|%EXENAME%|${pkgname}|" \ ${FILESDIR}/treesheets.sh.in > ${wrksrc}/treesheets.sh vbin ${wrksrc}/treesheets.sh treesheets vlicense ${wrksrc}/ZLIB_LICENSE.txt vmkdir usr/lib/${pkgname} 755 vcopy ${wrksrc}/TS/docs usr/lib/${pkgname} vinstall ${wrksrc}/TS/readme.html 644 usr/lib/${pkgname} vcopy ${wrksrc}/TS/examples usr/lib/${pkgname} vcopy ${wrksrc}/TS/images usr/lib/${pkgname} vinstall ${wrksrc}/TS/treesheets 755 usr/lib/${pkgname} vinstall ${wrksrc}/TS/treesheets.desktop 644 usr/share/applications vinstall ${wrksrc}/TS/images/icon32.png 644 usr/share/pixmaps treesheets.png vinstall ${wrksrc}/TS/images/icon16.png 644 usr/share/pixmaps treesheets-16x16.png vinstall ${wrksrc}/TS/images/treesheets.svg 644 usr/share/pixmaps treesheets.svg sed -i "s|Icon=images/treesheets.svg|Icon=treesheets.png|" ${DESTDIR}/usr/share/applications/treesheets.desktop vdoc ${wrksrc}/TODO.txt }