summaryrefslogtreecommitdiff
path: root/community/squashfs-tools
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/squashfs-tools
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/squashfs-tools')
-rw-r--r--community/squashfs-tools/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/squashfs-tools/PKGBUILD b/community/squashfs-tools/PKGBUILD
new file mode 100644
index 000000000..5ca67f8ca
--- /dev/null
+++ b/community/squashfs-tools/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 42134 2011-03-13 21:59:05Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Aaron Griffin <aaron@archlinux.org>
+# Original TU: Jeff Mickey <j@codemac.net>
+# Contributor: ciccio.a
+
+pkgname=squashfs-tools
+pkgver=4.2
+pkgrel=1
+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}/sbin/mksquashfs
+ install -m755 unsquashfs ${pkgdir}/sbin/unsquashfs
+}