je vous présente kouvert, un éditeur graphique en Qt pour fstab. Pour fonctionner il lui faut pyQt (donc python et qt

le PKGBUILD :
Code : Tout sélectionner
pkgname=kouvert
pkgver=0.3
pkgrel=1
pkgdesc="graphical fstab file editor write with Qt"
arch=('i686' 'x86_64')
url="http://www.qt-apps.org/content/show.php/Kouvert?content=15185"
license="GPL"
depends=('kdebase' 'pyqt')
source=(http://www.qt-apps.org/CONTENT/content-files/15185-$pkgname.$pkgver.tar.gz \
kouvert.patch kouvert.desktop)
md5sums=('9ed98dcb31ad9c30a5e9c96759ed961f' '922dfe49bd4b41cb03fb28bfba697a82'\
'eda81819a49520446cbf0d4f694a6b63')
build() {
cd $startdir/src/$pkgname.$pkgver
# patch
patch -Np0 < $startdir/src/kouvert.patch
# install bin file
install -dv $startdir/pkg/usr/bin
install -v -m755 $startdir/src/$pkgname.$pkgver/kouvert $startdir/pkg/usr/bin/
# install desktop file
install -dv $startdir/pkg/usr/share/applications
install -v -m644 $startdir/src/kouvert.desktop $startdir/pkg/usr/share/applications/
# install python file
install -dv $startdir/pkg/usr/share/$pkgname/{fd_options,icones}
install -v -m644 $startdir/src/$pkgname.$pkgver/icones/*.png $startdir/pkg/usr/share/$pkgname/icones/
install -v -m644 $startdir/src/$pkgname.$pkgver/fd_options/* $startdir/pkg/usr/share/$pkgname/fd_options/
install -v -m644 $startdir/src/$pkgname.$pkgver/*.py* $startdir/pkg/usr/share/$pkgname/
install -v -m644 $startdir/src/$pkgname.$pkgver/{README,CHANGES} $startdir/pkg/usr/share/$pkgname/
}

Code : Tout sélectionner
--- kouvert 2007-04-18 23:21:38.000000000 +0200
+++ kouvert.new 2007-04-18 23:17:36.000000000 +0200
@@ -1,3 +1,3 @@
#!/bin/sh
+cd /usr/share/kouvert/
kdesu -c "python kouvert.py"
-
Code : Tout sélectionner
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=kouvert
Exec=kouvert
Icon=kouvert
Type=Application
Categories=System;
Comment=graphical fstab file editor
Comment[br]=graphical fstab file editor
Comment[ca]=graphical fstab file editor
Comment[da]=graphical fstab file editor
Comment[de]=graphical fstab file editor
Comment[el]=graphical fstab file editor
Comment[es]=graphical fstab file editor
Comment[et]=graphical fstab file editor
Comment[eu]=graphical fstab file editor
Comment[fr]=Éditeur graphique du fichier fstab
Comment[ga]=graphical fstab file editor
Comment[hi]=graphical fstab file editor
Comment[hu]=graphical fstab file editor
Comment[is]=graphical fstab file editor
Comment[it]=graphical fstab file editor
Comment[ja]=graphical fstab file editor
Comment[nb]=graphical fstab file editor
Comment[nl]=graphical fstab file editor
Comment[pl]=graphical fstab file editor
Comment[pt]=graphical fstab file editor
Comment[pt_BR]=graphical fstab file editor
Comment[ru]=graphical fstab file editor
Comment[sl]=graphical fstab file editor
Comment[sr]=graphical fstab file editor
Comment[sr@Latn]=graphical fstab file editor
Comment[sv]=graphical fstab file editor
Comment[ta]=graphical fstab file editor
Comment[tg]=graphical fstab file editor
Comment[tr]=graphical fstab file editor
Comment[uk]=graphical fstab file editor
Comment[zh_CN]=graphical fstab file editor
Voici à quoi ça ressemble :


amusez vous bien
