wok view kkedit/receipt @ rev 25599

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 13:38:12 2023 +0000 (9 months ago)
parents 5ea0ce1cecc0
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --disable-docviewer \
31 --prefix=/usr &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share/KKEdit
40 mkdir -p $fs/usr/share/applications
41 mkdir -p $fs/usr/share/pixmaps
43 cp -a $install/usr/bin $fs/usr
44 cp -a $stuff/*.desktop $fs/usr/share/applications
45 cp -a $stuff/*.png $fs/usr/share/pixmaps
46 cp -a $install/usr/share/KKEdit/tools $fs/usr/share/KKEdit
47 }