wok view tea/receipt @ rev 25590
liberation-fonts-base (2.1.5), fedorahosted.org retirement
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 17 18:59:24 2023 +0000 (16 months ago) |
parents | 870e1ce31226 |
children | 0262035dc1e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tea"
4 VERSION="61.0.0"
5 CATEGORY="development"
6 TAGS="text-editor"
7 SHORT_DESC="A QT-based text editor."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://tea.ourproject.org/"
11 REPOLOGY="tea-editor"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/psemiletov/$PACKAGE-qt/archive/$VERSION.tar.gz"
16 DEPENDS="libQtCore libQtGui libQtXml xorg-libX11"
17 BUILD_DEPENDS="qmake Qt4-dev xorg-dev"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 qmake PREFIX=/usr &&
29 make
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 mkdir -p $fs/usr/share/pixmaps
38 cp -a $src/bin/tea $fs/usr/bin
39 cp -a $src/icons/tea_icon_v2.png $fs/usr/share/pixmaps/tea.png
40 }