]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - distro/archlinux/this/Makefile
distro/archlinux/this/Makefile: TARCOMP variable contains the compression flag, rathe...
[xonotic/gmqcc.git] / distro / archlinux / this / Makefile
index 97f2565a0dde2c04ac1ee09b5a163791d921b186..e89880ff5548beb04c4347c39c89c909bc05cb86 100644 (file)
@@ -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: