wok view arora/receipt @ rev 24102
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 17 10:35:57 2021 +0000 (2021-09-17) |
parents | 20661c276bcf |
children | ac8ca9758df1 |
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*}/releases 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 }