wok view nicotine+/receipt @ rev 25321
updated sqlobject (3.8.0 -> 3.9.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 22 07:45:13 2022 +0100 (2022-07-22) |
parents | 6c767b8fea7d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="nicotine+"
4 VERSION="1.4.1"
5 CATEGORY="network"
6 TAGS="fileshare p2p peer-to-peer"
7 SHORT_DESC="A client for the SoulSeek filesharing network."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://www.nicotine-plus.org"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/Nicotine-Plus/nicotine-plus/archive/$VERSION.tar.gz"
15 DEPENDS="gtk+ python pygtk"
16 BUILD_DEPENDS="python-dev pygtk-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/nicotine
35 cp -a $install/usr/bin $fs/usr
36 # mv $fs/usr/bin/nicotine.py $fs/usr/bin/nicotine
37 cp -a $install/usr/lib $fs/usr
38 cp -a $install/usr/share/applications $fs/usr/share
39 cp -a $install/usr/share/icons $fs/usr/share
40 cp -a $install/usr/share/nicotine/sounds $fs/usr/share/nicotine
42 for lang in de es fr pt_BR
43 do
44 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
45 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/nicotine.mo \
46 $fs/usr/share/locale/$lang/LC_MESSAGES
47 done
48 }