wok view arora/receipt @ rev 24414
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 11:43:39 2022 +0000 (2022-02-10) |
parents | 5ea0ce1cecc0 |
children | e1e1678c5265 |
line source
1 # SliTaz package receipt.
3 PACKAGE="arora"
4 VERSION="0.11.0"
5 CATEGORY="network"
6 SHORT_DESC="A cross-platform Qt4 WebKit browser"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/Arora/arora"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/files/$TARBALL"
12 TAGS="web-browser"
14 BUILD_DEPENDS="Qt4-dev qmake libsqlite"
15 DEPENDS="libQtGui libQtWebkit libQtDBus libQtXml libQtScript"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/files*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 qmake PREFIX="/usr/" &&
28 make $MAKEFLAGS &&
29 make INSTALL_ROOT=$DESTDIR install
30 find $install -type f -name '*.desktop' -exec chmod a-x \{\} \;
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp $src/arora $fs/usr/bin
38 }