summaryrefslogtreecommitdiff
path: root/extra/pmount/PKGBUILD
blob: 371593ae3c168cd83f7e7c98ac9dc2ce9a1fe9f2 (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 160589 2012-06-02 11:45:11Z allan $
# 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
}