summaryrefslogtreecommitdiff
path: root/extra/avfs/PKGBUILD
blob: 0cfa33f260a567fc11b089675c70eab6dba4cedf (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
28
29
30
31
32
33
34
35
# $Id: PKGBUILD 151581 2012-02-27 18:31:46Z giovanni $
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: K. Piche <kpiche@rogers.com>

pkgname=avfs
pkgver=1.0.0
pkgrel=1
pkgdesc="A virtual filesystem that allows browsing of compressed files"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://avf.sourceforge.net/"
source=("http://downloads.sourceforge.net/sourceforge/avf/${pkgname}-${pkgver}.tar.bz2"
        'avfs-1.0.0-fix_open_missing_mode.patch')
options=(!emptydirs !libtool)
depends=('fuse' 'xz' 'perl')
md5sums=('c58421e4f294125895f2c6653a7366a7'
         'bdd84b179a869bc6d64529a64a640fc6')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  patch -Np1 -i "${srcdir}/avfs-1.0.0-fix_open_missing_mode.patch"

  ./configure --prefix=/usr \
              --enable-library \
              --enable-fuse \
              --disable-static
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
}