Adapt scripts to use the new licensing scheme

This commit is contained in:
Andrea Mazzoleni 2026-04-02 16:10:26 +02:00
parent 60269a1236
commit b3398df529
6 changed files with 13 additions and 10 deletions

View file

@ -50,7 +50,8 @@ make install DESTDIR="../${PKG_ROOT}"
# Add example config and docs
mkdir -p "../${PKG_ROOT}/usr/share/doc/@PACKAGE@"
cp @PACKAGE@.conf.example COPYING AUTHORS HISTORY README "../${PKG_ROOT}/usr/share/doc/@PACKAGE@/"
cp @PACKAGE@.conf.example AUTHORS HISTORY README "../${PKG_ROOT}/usr/share/doc/@PACKAGE@/"
cp LICENSES/GPL-3.0 "../${PKG_ROOT}/usr/share/doc/@PACKAGE@/COPYING"
cd ..
@ -67,7 +68,7 @@ cd ${PKG_ROOT}
echo "Create .MTREE"
bsdtar -czf .MTREE --format=mtree --options='!all,use-set,type,uid,gid,mode,time,size,md5,sha256,link' .PKGINFO usr
# Build the .deb package
# Build the .pkg package
echo "Building .PKG package..."
tar --owner=0 --group=0 -cvf - .PKGINFO .MTREE usr | zstd -c -z -q - > ../${PKG_NAME}-${VERSION}-1-x86_64.pkg.tar.zst