[arch-commits] Commit in squashfs-tools/trunk (PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Thu May 30 09:44:21 UTC 2013


    Date: Thursday, May 30, 2013 @ 11:44:20
  Author: spupykin
Revision: 91958

upgpkg: squashfs-tools 4.2-4

upd

Modified:
  squashfs-tools/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-30 09:44:15 UTC (rev 91957)
+++ PKGBUILD	2013-05-30 09:44:20 UTC (rev 91958)
@@ -6,7 +6,7 @@
 
 pkgname=squashfs-tools
 pkgver=4.2
-pkgrel=3
+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 @@
 
 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}/bin/mksquashfs
-    install -m755 unsquashfs ${pkgdir}/bin/unsquashfs
+    install -Dm755 mksquashfs ${pkgdir}/usr/bin/mksquashfs
+    install -m755 unsquashfs ${pkgdir}/usr/bin/unsquashfs
 }




More information about the arch-commits mailing list