# $Id: PKGBUILD 91872 2013-05-28 17:44:34Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Aaron Griffin # Original TU: Jeff Mickey # Contributor: ciccio.a pkgname=squashfs-tools pkgver=4.2 pkgrel=3 pkgdesc="Tools for squashfs, a highly compressed read-only filesystem for Linux." url="http://squashfs.sourceforge.net" license=("GPL") arch=('i686' 'x86_64') depends=('zlib' 'lzo2' 'xz') source=("http://downloads.sourceforge.net/sourceforge/squashfs/squashfs${pkgver}.tar.gz") md5sums=('1b7a781fb4cf8938842279bd3e8ee852') build() { cd ${srcdir}/squashfs${pkgver}/${pkgname} sed -i 's|^#XZ_SUPPORT = 1|XZ_SUPPORT = 1|' Makefile sed -i 's|^#LZO_SUPPORT = 1|LZO_SUPPORT = 1|' Makefile make } package() { cd ${srcdir}/squashfs${pkgver}/${pkgname} install -Dm755 mksquashfs ${pkgdir}/bin/mksquashfs install -m755 unsquashfs ${pkgdir}/bin/unsquashfs }