wok view arora/receipt @ rev 25597

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 11:24:03 2023 +0000 (10 months ago)
parents e1e1678c5265
children
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/archive/refs/tags/$VERSION.tar.gz"
12 TAGS="web-browser"
14 BUILD_DEPENDS="Qt4-dev qmake libsqlite"
15 DEPENDS="libQtGui libQtWebkit libQtDBus libQtXml libQtScript"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 qmake PREFIX="/usr/" &&
29 make $MAKEFLAGS &&
30 make INSTALL_ROOT=$DESTDIR install
31 find $install -type f -name '*.desktop' -exec chmod a-x \{\} \;
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin
38 cp $src/arora $fs/usr/bin
39 }