updated on Thu Jan 12 00:00:55 UTC 2012
[aur-mirror.git] / mount-gtk / PKGBUILD
blob498e4b69279997c03dbc3658ec7e20d37253e85d
1 # Maintainer:  TDY <tdy@gmx.com>
2 # Contributor: Christoph Zeiler <rabyteNOSPAM_at_gmx.dot.org>
4 pkgname=mount-gtk
5 pkgver=1.0.10
6 pkgrel=1
7 pkgdesc="A GTK+ frontend for pmount"
8 arch=('i686' 'x86_64')
9 url="http://mount-gtk.sourceforge.net/"
10 license=('GPL')
11 depends=('glib2>=2.26.0' 'gtk2>=2.12.0' 'pmount')
12 makedepends=('pkgconfig>=0.9')
13 #optdepends=('libnotify>=0.4.1: provides error message capabilities')
14 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
15 md5sums=('186c4721a7cf1ce285d6a4a59a1f5906')
17 build() {
18   cd "$srcdir/$pkgname-$pkgver"
19   # libnotify currently breaks
20   sed -i 's,define\( HAVE_LIBNOTIFY\) 1,undef\1,' configure
21   ./configure --prefix=/usr --with-gtk-version=gtk2
22   make
25 package() {
26   cd "$srcdir/$pkgname-$pkgver"
27   make DESTDIR="$pkgdir" install