1 # Maintainer: Marti Raudsepp <marti@juffo.org>
2 # Original author: Jan de Groot <jgc@archlinux.org>
4 pkgname=gnome-disk-utility-git
7 pkgdesc="Graphical interface for partitioning and monitoring disks via UDisks (aka Palimpsest)"
9 url="http://library.gnome.org/users/palimpsest/stable/index-info.html.en"
11 depends=('dbus-glib' 'udisks' 'libatasmart' 'libnotify>=0.6.1' 'hicolor-icon-theme' 'gtk3' 'libunique3' 'nautilus')
12 makedepends=('gnome-doc-utils' 'gtk-doc' 'intltool' 'gnome-common')
13 optdepends=('gnome-keyring: Ability to store disk encryption passwords in GNOME keyring')
14 replaces=('gnome-mount')
15 provides=('gnome-disk-utility=2.32.2')
16 conflicts=('gnome-mount' 'gnome-disk-utility')
17 options=('!libtool' '!emptydirs')
18 install=gnome-disk-utility.install
21 _gitroot="git://git.gnome.org/gnome-disk-utility"
22 _gitname="gnome-disk-utility"
26 msg "Connecting to GIT server...."
28 if [ -d $_gitname ] ; then
29 cd $_gitname && git pull origin
30 msg "The local files are updated."
32 git clone $_gitroot $_gitname
35 msg "GIT checkout done or server timeout"
36 msg "Starting make..."
38 rm -rf "$srcdir/$_gitname-build"
39 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
40 cd "$srcdir/$_gitname-build"
43 --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
44 --libexecdir=/usr/lib/gnome-disk-utility
46 make DESTDIR="$pkgdir" install