summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1f48099c8a836ccffe06756612336975c7f99568 (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
# Maintainer: Tim Jester-Pfadt <t.jp@gmx.de>

pkgname=squashfuse-git
pkgver=192.bb8f083
pkgrel=1
pkgdesc="FUSE filesystem to mount squashfs archives"
arch=('i686' 'x86_64')
url="https://github.com/vasi/squashfuse"
license=('BSD')
depends=('fuse')
source=('git+https://github.com/vasi/squashfuse.git' )
sha256sums=('SKIP')

prepare() {
  cd "$srcdir"/squashfuse
}

build() {
  cd "$srcdir"/squashfuse
  autoreconf -fi
  ./configure --prefix=/usr
  make
}

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

pkgver() {
  cd "$srcdir"/squashfuse
  echo $(git rev-list --count master).$(git rev-parse --short master)
}