updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / qmagneto / PKGBUILD
blob5e555bb6127f23d804d44ffc87203b021edac4ff
1 # Maintainer: Vincent Prelat <prelatv [at] gmail.com>
3 pkgname=qmagneto
4 pkgver=1.3.2
5 pkgrel=1
6 pkgdesc="French TV guide with record function"
7 url="http://biord-software.org/fr/qmagneto/"
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 depends=('qt')
11 makedepends=('subversion')
12 _revision=1.3-2
13 source=(http://biord-software.org/downloads/$pkgname-$_revision.zip qmagneto.desktop)
14 md5sums=('cceb7abebaf32c9363ae515ebaa654bb' '5962e81a0d9401a73930996b8a8ac46b')
17 build() {
18   cd $startdir/src/$pkgname-$_revision
19   
20   qmake || return 1
21   make || return 1
23   #binary file
24   install -d $pkgdir/usr/
25   install -d $pkgdir/usr/bin
26   install -m 755 bin/qmagneto $pkgdir/usr/bin/qmagneto
27   
28   #icon and desktop file
29   install -d $pkgdir/usr/share
30   install -d $pkgdir/usr/share/pixmaps
31   install -d $pkgdir/usr/share/applications
32   install -m 755 resources/images/logo_qmagneto.xpm $pkgdir/usr/share/pixmaps/qmagneto.xpm
33   install -m 755 $srcdir/../qmagneto.desktop $pkgdir/usr/share/applications/qmagneto.desktop