37 lines
1.4 KiB
Bash
37 lines
1.4 KiB
Bash
# Template file for 'treesheets'
|
|
pkgname=treesheets
|
|
version=1.0.0
|
|
revision=3
|
|
build_style=gnu-makefile
|
|
makedepends="wxWidgets-devel"
|
|
short_desc="Free Form Data Organizer"
|
|
maintainer="Piraty <piraty1@inbox.ru>"
|
|
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
|
|
}
|