41 lines
1.3 KiB
Bash
41 lines
1.3 KiB
Bash
# Template file for 'treesheets'
|
|
pkgname=treesheets
|
|
version=1.0.2
|
|
revision=1
|
|
build_style=cmake
|
|
build_helper="cmake-wxWidgets-gtk3"
|
|
makedepends="wxWidgets-gtk3-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=84eb82f122bc7be3ded399d2511536128911477a4a69c51b26b856de2160405f
|
|
patch_args=-Np0
|
|
|
|
do_install() {
|
|
vmkdir usr/lib/${pkgname}
|
|
|
|
vinstall build/TS/treesheets 755 usr/lib/${pkgname}
|
|
printf '#!/bin/sh\nexec /usr/lib/treesheets/treesheets "$@"' > treesheets.sh
|
|
vbin treesheets.sh treesheets
|
|
|
|
vlicense ZLIB_LICENSE.txt
|
|
|
|
vdoc TS/readme.html
|
|
vcopy "TS/docs/*" usr/share/doc/${pkgname}
|
|
|
|
vcopy TS/examples usr/lib/${pkgname}
|
|
vcopy TS/images usr/lib/${pkgname}
|
|
vcopy TS/scripts usr/lib/${pkgname}
|
|
vcopy TS/translations usr/lib/${pkgname}
|
|
|
|
vinstall TS/images/icon32.png 644 usr/share/pixmaps treesheets.png
|
|
vinstall TS/images/icon16.png 644 usr/share/pixmaps treesheets-16x16.png
|
|
vinstall TS/images/treesheets.svg 644 usr/share/pixmaps treesheets.svg
|
|
|
|
vmkdir usr/share/applications/
|
|
vsed -i "s|Icon=images/treesheets.svg|Icon=treesheets.png|" TS/treesheets.desktop
|
|
vinstall TS/treesheets.desktop 644 usr/share/applications
|
|
}
|