summaryrefslogtreecommitdiff
path: root/extra/pmount/PKGBUILD
blob: c7c4f92a54609242c63e096423df4aea5f3b7979 (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 'mips64el')
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
}