wok-current view arora/receipt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (2022-05-02)
parents ac8ca9758df1
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 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 }