wok-next view speedcrunch/receipt @ rev 21206
try to build assaultcube again
author | Hans-G?nter Theisgen |
---|---|
date | Mon Dec 02 09:25:03 2019 +0100 (2019-12-02) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="speedcrunch"
4 GITHASH="7a34226"
5 VERSION="$GITHASH" # FIXME
6 CATEGORY="utilities"
7 SHORT_DESC="Fast, high precision and powerful desktop calculator"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="http://speedcrunch.org/"
12 TARBALL="$PACKAGE-$VERSION.zip"
13 WGET_URL="https://github.com/speedcrunch/SpeedCrunch/archive/$GITHASH.zip"
15 BUILD_DEPENDS="cmake Qt4-dev qmake xorgproto libx11-dev"
17 compile_rules() {
18 mkdir build
19 cd build
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 ../src &&
23 make &&
24 lrelease ../src/speedcrunch.pro &&
25 make install || return 1
27 # proper sub-category
28 sed -i 's|^Categories.*$|&;Calculator;|' \
29 $install/usr/share/applications/speedcrunch.desktop
30 }
32 genpkg_rules() {
33 cp -a $install/* $fs
34 DEPENDS="glibc-base libQtGui libQtXml"
35 }