summaryrefslogtreecommitdiffstats
path: root/extra/gestpkg/Pkgfile
blob: 2077a26e7097b3c6632a6398b76b28250dbefad9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Description: Gestionnaire de paquets graphique
# URL: http://www.nutyx.org
# Maintainer: NuTyX core team
# Packager: ferarduansednan at laposte dot net
# Depends on: gestpkg-module, wxpython, python, ktsuss
name=gestpkg
version=1.1
release=1
source=(http://kiao.no-ip.info/NuTyX/files/$name-$version-src.tar.gz)


build() {
cd $name-$version-src
        python setup.py install --root=$PKG

    mkdir -p $PKG/usr/share/applications
    install -m 644 ./${name}.desktop $PKG/usr/share/applications/

    mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps/
    install -m 644 ./icons/48x48/${name}.png $PKG/usr/share/icons/hicolor/48x48/apps/

    mkdir -p $PKG/usr/share/icons/hicolor/32x32/apps/
    install -m 644 ./icons/32x32/${name}.png $PKG/usr/share/icons/hicolor/32x32/apps/

    mkdir -p $PKG/usr/share/icons/hicolor/16x16/apps/
    install -m 644 ./icons/16x16/${name}.png $PKG/usr/share/icons/hicolor/16x16/apps/

#    mkdir -p $PKG//usr/lib/python2.6/site-packages/GestPkgGUI/log/
#    touch $PKG/usr/lib/python2.6/site-packages/GestPkgGUI/log/gestpkg.log
}