wok-6.x view kkedit/receipt @ rev 24415

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 10 18:04:02 2022 +0000 (2022-02-10)
parents 166df6b2da67
children
line source
1 # SliTaz package receipt.
3 PACKAGE="kkedit"
4 VERSION="0.4.2"
5 CATEGORY="development"
6 SHORT_DESC="Source code text editor."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/KeithDHedger/KKEdit"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$TARBALL"
14 SUGGESTED="aspell"
15 DEPENDS="gtk+ gtksourceview libunique"
16 BUILD_DEPENDS="aspell-dev autoconf automake ctags gtk+-dev
17 gtksourceview-dev libtool libunique-dev libxml2-dev vte-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 ./configure \
29 --disable-docviewer \
30 --prefix=/usr &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share/KKEdit
39 mkdir -p $fs/usr/share/applications
40 mkdir -p $fs/usr/share/pixmaps
42 cp -a $install/usr/bin $fs/usr
43 cp -a $stuff/*.desktop $fs/usr/share/applications
44 cp -a $stuff/*.png $fs/usr/share/pixmaps
45 cp -a $install/usr/share/KKEdit/tools $fs/usr/share/KKEdit
46 }