updated on Mon Jan 16 12:07:49 UTC 2012
[aur-mirror.git] / uiso-git / PKGBUILD
blob7f7c20413a5169ddb084843b346361e20105a2d9
1 # Maintainer: PyrO_70 <brieuc.roblin at gmail dot com>
2 pkgname=uiso-git
3 pkgver=20100718
4 pkgrel=1
5 pkgdesc="Daemon providing userland mount and umount of ISO file using DBus."
6 arch=('i686' 'x86_64')
7 url="http://www.pyrotools.org/"
8 license=('GPL')
9 depends=('qt')
10 makedepends=('git')
12 _gitroot="git://gitorious.org/uiso/uiso.git"
13 _gitname="uiso"
15 build() {
16   cd "$srcdir"
18   msg2 "Connecting to gitorious ..."
20   if [ -d $_gitname ] ; then
21     ( cd $_gitname && git pull )
22   else
23     git clone $_gitroot $_gitname || return 1
24   fi
26   msg2 "Starting make..."
27   
28   cd "$_gitname"
30   qmake || return 1
31   make || return 1
33   #installing binary
34   install -D -m755 uiso "$pkgdir"/usr/bin/uiso
35   
36   #installing daemon script
37   install -D -m755 conf/uiso "$pkgdir"/etc/rc.d/uiso
38   
39   #installing dbus config
40   install -D -m644 conf/org.pyrotools.UIso.conf "$pkgdir"/etc/dbus-1/system.d/org.pyrotools.UIso.conf
41