summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/pmount/PKGBUILD
blob: 2270b07b6e9b098b410f7984140ba1b1d68aca9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 29588 2009-03-10 06:17:31Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=pmount
pkgver=0.9.19
pkgrel=2
pkgdesc="mount removable devices as normal user"
arch=(i686 x86_64)
license=('GPL2')
url="http://pmount.alioth.debian.org/"
backup=('etc/pmount.allow')
depends=('sysfsutils>=2.0.0-1' 'bash' 'hal>=0.5.11')
makedepends=('intltool')
source=(http://alioth.debian.org/frs/download.php/2867/${pkgname}-${pkgver}.tar.gz
	pmount-dbus-close.patch)

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  # we have a shared connection! patch it to work correct
  patch -Np1 -i ${srcdir}/pmount-dbus-close.patch || return 1
  ./configure --prefix=/usr --with-cryptsetup-prog=/usr/sbin/cryptsetup || return 1
  make || return 1 
  make DESTDIR="${pkgdir}" install || return 1
}

md5sums=('2fd9fe103375dbd0c91af2f302250a8c'
         'b7ea1afd82ffebf510dc89f74cd39f09')