From 3d5fedcf39a3747b33e802303c991f161190d07b Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Fri, 11 Oct 2013 11:17:03 +0200 Subject: [PATCH] distro/archlinux/this/Makefile: TARCOMP variable contains the compression flag, rather than using -J in the makerule but provide the .xz extension in a variable --- distro/archlinux/this/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/distro/archlinux/this/Makefile b/distro/archlinux/this/Makefile index 97f2565..e89880f 100644 --- a/distro/archlinux/this/Makefile +++ b/distro/archlinux/this/Makefile @@ -7,6 +7,7 @@ PATCH := $(shell sed -n -e '/GMQCC_VERSION_PATCH/{s/.* .* //;p;q;}' $(HEADER)) PKGREL := 1 CARCH := $(shell uname -m) PKGDIR := gmqcc-$(MAJOR).$(MINOR).$(PATCH)-$(PKGREL)-$(CARCH) +TARCOMP := -J PKG := $(PKGDIR).pkg.tar.xz PKGINFO := $(PKGDIR)/.PKGINFO DESTDIR := distro/archlinux/this @@ -45,7 +46,7 @@ base: --format=mtree \ --options='!all,use-set,type,uid,gid,mode,time,size,md5,sha256,link' \ .PKGINFO usr/ - @bsdtar -cJvf $(PKG) -C $(PKGDIR)/ .PKGINFO .MTREE usr/ + @bsdtar $(TARCOMP) -cvf $(PKG) -C $(PKGDIR)/ .PKGINFO .MTREE usr/ @rm -rf $(PKGDIR) clean: -- 2.39.2