[arch-commits] Commit in squashfs-tools/repos (extra-x86_64 extra-x86_64/PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Mon Jul 26 17:52:42 UTC 2021


    Date: Monday, July 26, 2021 @ 17:52:41
  Author: dvzrv
Revision: 420425

archrelease: copy trunk to extra-x86_64

Added:
  squashfs-tools/repos/extra-x86_64/
  squashfs-tools/repos/extra-x86_64/PKGBUILD
    (from rev 420424, squashfs-tools/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: squashfs-tools/repos/extra-x86_64/PKGBUILD (from rev 420424, squashfs-tools/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2021-07-26 17:52:41 UTC (rev 420425)
@@ -0,0 +1,38 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Aaron Griffin <aaron at archlinux.org>
+# Original TU: Jeff Mickey <j at codemac.net>
+# Contributor: ciccio.a
+
+pkgname=squashfs-tools
+pkgver=4.4_git.1
+pkgrel=1
+pkgdesc="Tools for squashfs, a highly compressed read-only filesystem for Linux."
+url="https://github.com/plougher/squashfs-tools"
+license=("GPL")
+arch=('x86_64')
+depends=('zlib' 'lzo' 'xz' 'lz4' 'zstd')
+makedepends=('git')
+source=("git+https://github.com/plougher/squashfs-tools#tag=${pkgver/_/-}")
+sha256sums=('SKIP')
+
+prepare() {
+    cd "$srcdir"/${pkgname}/${pkgname}
+    sed -i '1,1i#include <sys/sysmacros.h>' mksquashfs.c unsquashfs.c
+}
+
+build() {
+    cd "$srcdir"/${pkgname}/${pkgname}
+    make \
+        GZIP_SUPPORT=1 \
+        XZ_SUPPORT=1 \
+        LZO_SUPPORT=1 \
+        LZMA_XZ_SUPPORT=1 \
+        LZ4_SUPPORT=1 \
+        ZSTD_SUPPORT=1 \
+        XATTR_SUPPORT=1
+}
+
+package() {
+    cd "$srcdir"/${pkgname}/${pkgname}
+    make install INSTALL_DIR="${pkgdir}"/usr/bin
+}



More information about the arch-commits mailing list