dispcalGUI updated to 0.7.0.7
This commit is contained in:
parent
1b4b377e9e
commit
2811a2bd1d
3 changed files with 60 additions and 0 deletions
32
pkgbuild/dispcalgui/PKGBUILD
Normal file
32
pkgbuild/dispcalgui/PKGBUILD
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
# Contributor: foxbunny <bg.branko@gmail.com>
|
||||
|
||||
pkgname=dispcalgui
|
||||
pkgver=0.7.0.7
|
||||
pkgrel=1
|
||||
pkgdesc="A GUI frontend for several utilities from the open source color management system Argyll CMS "
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://hoech.net/dispcalGUI/"
|
||||
license=('GPL3')
|
||||
depends=('argyllcms>=1.3.0' 'python2>=2.5' 'wxpython>=2.8' 'hicolor-icon-theme' 'desktop-file-utils')
|
||||
optdepends=('python2-numpy: to enable curve viewer'
|
||||
'gksu: For running as root')
|
||||
makedepends=('python>=2.5' 'libx11' 'libxrandr' 'libxinerama' 'libxxf86vm' 'setuptools>=0.6c11' 'xdg-utils')
|
||||
groups=('painters-studio-tools' 'painters-studio-extras' 'painters-studio-complete')
|
||||
install=${pkgname}.install
|
||||
source=(http://dispcalgui.hoech.net/dispcalGUI-${pkgver}.tar.gz ${pkgname}.desktop)
|
||||
|
||||
md5sums=('0507992d7fbc593ee41db6b86739f727'
|
||||
'a65019defc10243c7e0fd2925405d26e')
|
||||
|
||||
package() {
|
||||
cd "${srcdir}"/dispcalGUI-${pkgver}
|
||||
|
||||
python2 setup.py install --root="${pkgdir}" --optimize=1
|
||||
|
||||
install -Dm644 \
|
||||
"${srcdir}"/dispcalgui.desktop \
|
||||
"${pkgdir}"/usr/share/applications/${pkgname}.desktop
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
9
pkgbuild/dispcalgui/dispcalgui.desktop
Normal file
9
pkgbuild/dispcalgui/dispcalgui.desktop
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Desktop Entry]
|
||||
Exec=gksudo dispcalgui
|
||||
Name=dispcalGUI
|
||||
GenericName=dispcalGUI
|
||||
MimeType=application/x-designer
|
||||
Icon=/usr/share/pixmaps/dispcalGUI.png
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Graphics;2DGraphics
|
19
pkgbuild/dispcalgui/dispcalgui.install
Normal file
19
pkgbuild/dispcalgui/dispcalgui.install
Normal file
|
@ -0,0 +1,19 @@
|
|||
# arg 1: the new package version
|
||||
post_install() {
|
||||
update-desktop-database -q
|
||||
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
|
||||
}
|
||||
|
||||
post_upgrade(){
|
||||
update-desktop-database -q
|
||||
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
update-desktop-database -q
|
||||
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
|
||||
}
|
||||
|
||||
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in a new issue