mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 22:22:17 +00:00
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
This commit is contained in:
parent
637651f4e1
commit
3d5fedcf39
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue