summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 90f85a4a288d6397c1e96678a417eb52f07187df (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
36
37
38
39
40
41
42
43
44
45
# Contributor: Michael Groh <schnitzelkuchen@googlemail.com>
# Maintainer: aksr <aksr at t-com dot me>
pkgname=fusecompress-git
pkgver=2.1.r158.g0430917
pkgrel=1
epoch=
pkgdesc="Transparent (using fuse) compressing filesystem."
arch=('i686' 'x86_64')
url="http://github.com/tex/fusecompress/"
license=('GPL')
groups=()
depends=('fuse' 'file' 'boost-libs' 'xz' 'lzo')
makedepends=('git' 'boost')
optdepends=()
checkdepends=()
provides=('fusecompress')
conflicts=()
replaces=()
backup=()
options=()
changelog=
install=
source=("$pkgname::git+https://github.com/tex/fusecompress")
noextract=()
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$pkgname"
  git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}

build() {
  cd "$srcdir/$pkgname"
  CPPFLAGS="-DBOOST_DISABLE_ASSERTS"
  export CPPFLAGS
  autoreconf -fiv
  ./configure --prefix=/usr --with-lzma --with-z --with-bz2 --with-lzo2
  make
}

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