summaryrefslogtreecommitdiff
path: root/community/pmount/PKGBUILD
blob: 8bac8e37cfa33d8c2777c2c3669ca9d17bb732ee (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 80203 2012-11-17 15:45:57Z eric $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=pmount
pkgver=0.9.23
pkgrel=4
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' 'util-linux')
makedepends=('intltool')
source=(https://alioth.debian.org/frs/download.php/3310/pmount-0.9.23.tar.bz2)
md5sums=('db19f5bf3151b1b41705ec7bafa439d3')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --disable-hal \
    --with-cryptsetup-prog=/usr/sbin/cryptsetup
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}