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 <[email protected]>
+# Maintainer: Aaron Griffin <[email protected]>
+# Original TU: Jeff Mickey <[email protected]>
+# 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
+}

Reply via email to