updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / kouvert / PKGBUILD
blobab9b5d83a453efb8af5cb704591122b261d82d1c
1 # Contributor: Marc poiroud <marci1@archlinux.fr>
2 pkgname=kouvert
3 pkgver=0.3
4 pkgrel=1
5 pkgdesc="graphical fstab file editor write with Qt"
6 arch=('i686' 'x86_64')
7 url="http://www.qt-apps.org/content/show.php/Kouvert?content=15185"
8 license="GPL"
9 depends=('kdebase' 'pyqt')
10 makedepends=()
11 provides=()
12 conflicts=()
13 replaces=()
14 backup=()
15 install=
16 source=(http://www.qt-apps.org/CONTENT/content-files/15185-$pkgname.$pkgver.tar.gz \
17         kouvert.patch kouvert.desktop)
18 md5sums=('9ed98dcb31ad9c30a5e9c96759ed961f' '922dfe49bd4b41cb03fb28bfba697a82'\
19          'eda81819a49520446cbf0d4f694a6b63')
21 build() {
22         cd $startdir/src/$pkgname.$pkgver
24         # patch
25         patch -Np0 < $startdir/src/kouvert.patch
27         # install bin file
28         install -dv $startdir/pkg/usr/bin
29         install -v -m755 $startdir/src/$pkgname.$pkgver/kouvert $startdir/pkg/usr/bin/
31         # install desktop file
32         install -dv $startdir/pkg/usr/share/applications
33         install -v -m644 $startdir/src/kouvert.desktop $startdir/pkg/usr/share/applications/
35         # install python file
36         install -dv $startdir/pkg/usr/share/$pkgname/{fd_options,icones}
37         install -v -m644 $startdir/src/$pkgname.$pkgver/icones/*.png $startdir/pkg/usr/share/$pkgname/icones/
38         install -v -m644 $startdir/src/$pkgname.$pkgver/fd_options/* $startdir/pkg/usr/share/$pkgname/fd_options/
39         install -v -m644 $startdir/src/$pkgname.$pkgver/*.py* $startdir/pkg/usr/share/$pkgname/
40         install -v -m644 $startdir/src/$pkgname.$pkgver/{README,CHANGES} $startdir/pkg/usr/share/$pkgname/