Skip to content

Commit

Permalink
tikzit: add desktop file and manpage
Browse files Browse the repository at this point in the history
  • Loading branch information
Eloitor authored and classabbyamp committed Nov 13, 2023
1 parent fa0fc4b commit c4f7908
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion srcpkgs/tikzit/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'tikzit'
pkgname=tikzit
version=2.1.6
revision=1
revision=2
build_style=cmake
hostmakedepends="qt5-host-tools qt5-qmake extra-cmake-modules flex bison"
makedepends="qt5-devel poppler-qt5-devel poppler-cpp-devel"
Expand All @@ -11,3 +11,16 @@ license="GPL-3.0-or-later"
homepage="https://tikzit.github.io/"
distfiles="https://github.com/tikzit/tikzit/archive/refs/tags/v${version}.tar.gz"
checksum=40e160f654a25a3a36d6a5361eef71a51f9d3b5eec3b42dd9246ec26402149d1

post_install() {
vman share/man/man1/tikzit.1
vinstall share/applications/tikzit.desktop 755 usr/share/applications

for _i in 16 32 64 128 256 512 1024; do
vinstall share/icons/hicolor/${_i}x${_i}/apps/tikzit.png 644 usr/share/icons/hicolor/${_i}x${_i}/apps
done
vinstall share/icons/hicolor/scalable/apps/tikzit.svg 644 usr/share/icons/hicolor/scalable/apps/

vmkdir usr/share/mime/packages
vcopy share/mime/packages/user-tikz-document.xml usr/share/mime/packages
}

0 comments on commit c4f7908

Please sign in to comment.