wok view kilo/receipt @ rev 25686
Use System category for pm-suspend entry
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Apr 06 12:03:22 2024 +0200 (7 months ago) |
parents | ecd613707114 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="kilo"
4 VERSION="15072016"
5 CATEGORY="office"
6 SHORT_DESC="A text editor in less than 1000 LOC with syntax highlight and search."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://github.com/antirez/kilo"
11 WGET_URL="git|git://github.com/antirez/kilo"
13 #DEPENDS=""
14 BUILD_DEPENDS="git bzip2"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/antirez/kilo/commits/master 2>/dev/null | \
20 sed 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $src/$PACKAGE $fs/usr/bin
34 }