OCaml 4.14.0 rebuild
[arch-packages.git] / squashfs-tools / trunk / PKGBUILD
blobf1eda858cec846c0b624e6c9160bac0f853104d6
1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: Aaron Griffin <aaron@archlinux.org>
4 # Original TU: Jeff Mickey <j@codemac.net>
5 # Contributor: ciccio.a
7 pkgname=squashfs-tools
8 pkgver=4.5.1
9 pkgrel=1
10 pkgdesc="Tools for squashfs, a highly compressed read-only filesystem for Linux"
11 arch=(x86_64)
12 url="https://github.com/plougher/squashfs-tools"
13 license=(GPL2)
14 depends=(lz4 lzo xz zlib zstd)
15 makedepends=(help2man)
16 options=(debug)
17 source=($pkgname-$pkgver.tar.gz::https://github.com/plougher/$pkgname/archive/refs/tags/$pkgver.tar.gz)
18 sha512sums=('b3934ea1e26c7508110312711465644a6d9674b6b5332a7d011e191fa3c1d4b8be694214794a0f6005263d0f4e18bab96af2f7ed66a178f8e3bb3a781cd44896')
19 b2sums=('cbd35daf582d284b021911bb754ed548763f2773e1bc02516ca18bab7034e352780c11eb7dfed1f047b70974dcfb716bb1a1d3729e5b25662203cfbf93553b73')
21 build() {
22   local _params=(GZIP_SUPPORT=1 XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1 ZSTD_SUPPORT=1 XATTR_SUPPORT=1)
23   make ${_params[@]} -C $pkgname-$pkgver/$pkgname
26 package() {
27   make -C $pkgname-$pkgver/$pkgname install INSTALL_PREFIX="$pkgdir/usr"
28   install -vDm 644 $pkgname-$pkgver/{ACTIONS-README,CHANGES,USAGE} $pkgname-$pkgver/README-$pkgver -t "$pkgdir/usr/share/doc/$pkgname/"