summaryrefslogtreecommitdiff
path: root/community/squashfs-tools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/squashfs-tools/PKGBUILD')
-rw-r--r--community/squashfs-tools/PKGBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/community/squashfs-tools/PKGBUILD b/community/squashfs-tools/PKGBUILD
index 00d33aaa0..ffefbc54e 100644
--- a/community/squashfs-tools/PKGBUILD
+++ b/community/squashfs-tools/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 65461 2012-02-21 05:55:21Z spupykin $
+# $Id: PKGBUILD 91959 2013-05-30 09:44:39Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Original TU: Jeff Mickey <j@codemac.net>
@@ -6,7 +6,7 @@
pkgname=squashfs-tools
pkgver=4.2
-pkgrel=2
+pkgrel=4
pkgdesc="Tools for squashfs, a highly compressed read-only filesystem for Linux."
url="http://squashfs.sourceforge.net"
license=("GPL")
@@ -17,13 +17,11 @@ 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
+ make XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1
}
package() {
cd ${srcdir}/squashfs${pkgver}/${pkgname}
- install -Dm755 mksquashfs ${pkgdir}/sbin/mksquashfs
- install -m755 unsquashfs ${pkgdir}/sbin/unsquashfs
+ install -Dm755 mksquashfs ${pkgdir}/usr/bin/mksquashfs
+ install -m755 unsquashfs ${pkgdir}/usr/bin/unsquashfs
}