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

David Runge dvzrv at gemini.archlinux.org
Mon Jul 26 20:04:26 UTC 2021


    Date: Monday, July 26, 2021 @ 20:04:26
  Author: dvzrv
Revision: 420438

archrelease: copy trunk to extra-x86_64

Added:
  squashfs-tools/repos/extra-x86_64/PKGBUILD
    (from rev 420437, squashfs-tools/trunk/PKGBUILD)
  squashfs-tools/repos/extra-x86_64/squashfs-tools-4.5-symlink_install.patch
    (from rev 420437, squashfs-tools/trunk/squashfs-tools-4.5-symlink_install.patch)
Deleted:
  squashfs-tools/repos/extra-x86_64/PKGBUILD

------------------------------------------+
 PKGBUILD                                 |   80 +++++++++++++++--------------
 squashfs-tools-4.5-symlink_install.patch |   11 +++
 2 files changed, 53 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-26 20:04:15 UTC (rev 420437)
+++ PKGBUILD	2021-07-26 20:04:26 UTC (rev 420438)
@@ -1,38 +0,0 @@
-# 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
-}

Copied: squashfs-tools/repos/extra-x86_64/PKGBUILD (from rev 420437, squashfs-tools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-07-26 20:04:26 UTC (rev 420438)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+# Original TU: Jeff Mickey <j at codemac.net>
+# Contributor: ciccio.a
+
+pkgname=squashfs-tools
+pkgver=4.5
+pkgrel=1
+pkgdesc="Tools for squashfs, a highly compressed read-only filesystem for Linux."
+url="https://github.com/plougher/squashfs-tools"
+license=('GPL2')
+arch=('x86_64')
+depends=('lz4' 'lzo' 'xz' 'zlib' 'zstd')
+source=("https://github.com/plougher/squashfs-tools#tag=${pkgver/_/-}")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/plougher/${pkgname}/archive/refs/tags/${pkgver}.tar.gz"
+        "${pkgname}-4.5-symlink_install.patch")
+sha512sums=('e00610487d24eed9e5dadcf84014a3d7faa9815d8ce00fd4660e6c8ce394dccf185ed9f387f4fa1313b9812fe770f802bdcbaef87887f2bcefacf234594a72e0'
+            'c2c77fb3741b75c2921ec6402d3532f87fd3d83e0e7042d88cf18835e30264547ce30b228bf5c0e5819075134871d27e2c8c5418257cbc66bfbfb730ef59a792')
+b2sums=('2fc8ab9bb6565b97656afd63b76bfd7449d96b83697286e88b55a8cd82957b395df17a707ee93e8a99ed19dc5ba73966ce33530ef6c35797924dad4e3f16ed3b'
+        'd19e07109630eb10952630611a0ebdc1349585a89bed29341c9b7a623e7d165e3c047332396edd4ababe3516010289e2743e8dc09be733f464e216fffd09036e')
+
+prepare() {
+  cd  ${pkgname}-${pkgver}
+  # fix the creation of symlinks in install target
+  patch -Np1 -i "../${pkgname}-4.5-symlink_install.patch"
+}
+
+build() {
+  make -C ${pkgname}-${pkgver}/${pkgname} \
+    GZIP_SUPPORT=1 \
+    XZ_SUPPORT=1 \
+    LZO_SUPPORT=1 \
+    LZMA_XZ_SUPPORT=1 \
+    LZ4_SUPPORT=1 \
+    ZSTD_SUPPORT=1 \
+    XATTR_SUPPORT=1
+}
+
+package() {
+  make -C ${pkgname}-${pkgver}/${pkgname} install INSTALL_DIR="${pkgdir}/usr/bin"
+}

Copied: squashfs-tools/repos/extra-x86_64/squashfs-tools-4.5-symlink_install.patch (from rev 420437, squashfs-tools/trunk/squashfs-tools-4.5-symlink_install.patch)
===================================================================
--- squashfs-tools-4.5-symlink_install.patch	                        (rev 0)
+++ squashfs-tools-4.5-symlink_install.patch	2021-07-26 20:04:26 UTC (rev 420438)
@@ -0,0 +1,11 @@
+diff -ruN a/squashfs-tools/Makefile b/squashfs-tools/Makefile
+--- a/squashfs-tools/Makefile	2021-07-22 22:11:24.000000000 +0200
++++ b/squashfs-tools/Makefile	2021-07-26 20:15:40.345471019 +0200
+@@ -406,5 +406,5 @@
+ 	mkdir -p $(INSTALL_DIR)
+ 	cp mksquashfs $(INSTALL_DIR)
+ 	cp unsquashfs $(INSTALL_DIR)
+-	ln -fs $(INSTALL_DIR)/unsquashfs $(INSTALL_DIR)/sqfscat
+-	ln -fs $(INSTALL_DIR)/mksquashfs $(INSTALL_DIR)/sqfstar
++	ln -fs unsquashfs $(INSTALL_DIR)/sqfscat
++	ln -fs mksquashfs $(INSTALL_DIR)/sqfstar



More information about the arch-commits mailing list