upgpkg: ocaml-ctypes 0.20.2-1
[arch-packages.git] / squashfuse / trunk / PKGBUILD
blobecc47ecbb139d78a0c0dc49ffc541235a745f901
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=squashfuse
4 pkgver=0.1.105
5 pkgrel=1
6 pkgdesc="FUSE filesystem to mount squashfs archives"
7 arch=(x86_64)
8 url="https://github.com/vasi/squashfuse"
9 license=(custom)
10 depends=(fuse zstd)
11 makedepends=()
12 source=(https://github.com/vasi/squashfuse/archive/$pkgver/$pkgname-$pkgver.tar.gz)
13 sha256sums=('3f776892ab2044ecca417be348e482fee2839db75e35d165b53737cb8153ab1e')
15 prepare() {
16   cd $pkgname-$pkgver
17   ./autogen.sh
20 build() {
21   cd $pkgname-$pkgver
22   ./configure --prefix=/usr
23   sed -e 's/ -shared / -Wl,-O1,--as-needed\0/g' -i libtool # Fix overlinking
24   make
27 package() {
28   cd $pkgname-$pkgver
29   make DESTDIR="$pkgdir" install
31   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
33 # install missing headers
34   install -Dm644 *.h -t "$pkgdir"/usr/include/squashfuse