1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
6 pkgdesc="FUSE filesystem to mount squashfs archives"
8 url="https://github.com/vasi/squashfuse"
12 source=(https://github.com/vasi/squashfuse/archive/$pkgver/$pkgname-$pkgver.tar.gz)
13 sha256sums=('3f776892ab2044ecca417be348e482fee2839db75e35d165b53737cb8153ab1e')
22 ./configure --prefix=/usr
23 sed -e 's/ -shared / -Wl,-O1,--as-needed\0/g' -i libtool # Fix overlinking
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