summaryrefslogtreecommitdiffstats
path: root/extra/gestpkg/Pkgfile
blob: ef6907328849fb1e7809ea97f34d49f80a8ec89c (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
32
33
34
35
# 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, p7zip

name=gestpkg
version=1.1
release=3
source=(http://kiao.no-ip.info/NuTyX/files/$name-$version-src.tar.gz\
	http://nutyx.meticul.eu/files/patchs/$name/gestpkg-logfile-02.patch)


build() {
	cd $name-$version-src
	patch -Np1 -i ../gestpkg-logfile-02.patch
	rm -r GestPkgGUI/log
        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/var/log/
    touch $PKG/var/log/gestpkg.log
}