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/releases/download/$pkgver/$pkgname-$pkgver.tar.gz)
13 sha256sums=('aa52460559e0d0b1753f6b1af5c68cfb777ca5a13913285e93f4f9b7aa894b3a')
17 ./configure --prefix=/usr
18 sed -e 's/ -shared / -Wl,-O1,--as-needed\0/g' -i libtool # Fix overlinking
24 make DESTDIR="$pkgdir" install
26 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
28 # install missing headers
29 install -Dm644 *.h -t "$pkgdir"/usr/include/squashfuse