diff --git a/.gitignore b/.gitignore index 64d7460a..e4718437 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,5 @@ xap/st/patches/st-vertcenter* /ap/hledger-bin/*.md.* /xap/x49gp/newrplfw.bin /d/crystal/completion.zsh +/wayland/sway/patches/*.previous +/d/crystal-lang-bin/completion.zsh diff --git a/SBo/development/gem2tgz/gem2tgz.SlackBuild b/SBo/development/gem2tgz/gem2tgz.SlackBuild index 15aa0e08..218955b3 100755 --- a/SBo/development/gem2tgz/gem2tgz.SlackBuild +++ b/SBo/development/gem2tgz/gem2tgz.SlackBuild @@ -44,4 +44,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/SBo/development/npm2tgz/npm2tgz.SlackBuild b/SBo/development/npm2tgz/npm2tgz.SlackBuild index 32c1db0c..5f112e65 100755 --- a/SBo/development/npm2tgz/npm2tgz.SlackBuild +++ b/SBo/development/npm2tgz/npm2tgz.SlackBuild @@ -5,7 +5,7 @@ # Written by Gwenhael Le Moine PRGNAM=npm2tgz -VERSION=${VERSION:-1.3.5} +VERSION=${VERSION:-1.3.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,4 +42,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/SBo/development/npm2tgz/npm2tgz.info b/SBo/development/npm2tgz/npm2tgz.info index f12641a5..a393d481 100644 --- a/SBo/development/npm2tgz/npm2tgz.info +++ b/SBo/development/npm2tgz/npm2tgz.info @@ -1,8 +1,8 @@ PRGNAM="npm2tgz" -VERSION="1.3.5" -HOMEPAGE="https://github.com/cycojesus/npm2tgz" -DOWNLOAD="https://github.com/cycojesus/npm2tgz/archive/1.3.5/npm2tgz-1.3.5.tar.gz" -MD5SUM="a89b659eae1190f62717c21211e6833e" +VERSION="1.3.6" +HOMEPAGE="https://github.com/gwenhael-le-moine/npm2tgz" +DOWNLOAD="https://github.com/gwenhael-le-moine/npm2tgz/archive/1.3.6/npm2tgz-1.3.6.tar.gz" +MD5SUM="933ddb500eb234056ce69d8a5bed8675" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="nodejs" diff --git a/a/broadcom-bt-firmware/SlackBuild b/a/broadcom-bt-firmware/SlackBuild index 7c82bbfa..6ccce791 100755 --- a/a/broadcom-bt-firmware/SlackBuild +++ b/a/broadcom-bt-firmware/SlackBuild @@ -65,4 +65,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/a/kernel-gwh/SlackBuild b/a/kernel-gwh/SlackBuild index b8cf913c..25f8613c 100755 --- a/a/kernel-gwh/SlackBuild +++ b/a/kernel-gwh/SlackBuild @@ -31,16 +31,17 @@ else if [ "$BRANCH" == "stable" ]; then SRC_URL="https://cdn.kernel.org/pub/linux/kernel/v$(echo "$VERSION" | cut -d. -f1).x" else - SRC_URL="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/snapshot" + SRC_URL="https://git.kernel.org/torvalds/t" fi - [ ! -e "$CWD"/linux-"$VERSION".tar.xz ] && wget -c "$SRC_URL/linux-$VERSION.tar.xz" -O "$CWD/linux-$VERSION.tar.xz" - tar xf "$CWD/linux-$VERSION.tar.xz" -C "$PKG/usr/src/" + [ ! -e "$CWD"/linux-"$VERSION".tar.gz ] && wget -c "$SRC_URL/linux-$VERSION.tar.gz" -O "$CWD/linux-$VERSION.tar.gz" + tar xf "$CWD/linux-$VERSION.tar.gz" -C "$PKG/usr/src/" fi cd "$PKG/usr/src/" || exit 1 -ln -s "linux-$VERSION" linux -cd "linux-$VERSION" +mv "linux-$VERSION" "linux-${VERSION}-gwh" +#ln -s "linux-$VERSION" linux +cd "linux-${VERSION}-gwh" if [ -n "$CONFIG" ] && [ -e "$CONFIG" ]; then cat "$CONFIG" > .config @@ -132,4 +133,4 @@ EOF cd "$PKG" || exit 1 rm -f "$PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la" -/sbin/makepkg -l y -c n "$OUTPUT/$PRGNAM-$(echo "$VERSION" | tr - _)-$ARCH-$BUILD$TAG.txz" +/sbin/makepkg --linkadd y --prepend --chown n "$OUTPUT/$PRGNAM-$(echo "$VERSION" | tr - _)-$ARCH-$BUILD$TAG.txz" diff --git a/a/nct6687d/SlackBuild b/a/nct6687d/SlackBuild index 0be523a0..4eb8b6d2 100755 --- a/a/nct6687d/SlackBuild +++ b/a/nct6687d/SlackBuild @@ -89,4 +89,4 @@ EOF # empaquetage cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')_${KERNEL_VERSION}-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')_${KERNEL_VERSION}-$ARCH-$BUILD$TAG.txz diff --git a/a/pine64-platform-scripts/SlackBuild b/a/pine64-platform-scripts/SlackBuild index ca03a87e..97a84c93 100755 --- a/a/pine64-platform-scripts/SlackBuild +++ b/a/pine64-platform-scripts/SlackBuild @@ -66,4 +66,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/a/pinebook_pro_boot/SlackBuild b/a/pinebook_pro_boot/SlackBuild index ab892b99..3747b324 100755 --- a/a/pinebook_pro_boot/SlackBuild +++ b/a/pinebook_pro_boot/SlackBuild @@ -93,4 +93,4 @@ $PRGNAM: EOF # empaquetage -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/a/rpi-firmware-nonfree/SlackBuild b/a/rpi-firmware-nonfree/SlackBuild index abffa5da..5d8c2672 100755 --- a/a/rpi-firmware-nonfree/SlackBuild +++ b/a/rpi-firmware-nonfree/SlackBuild @@ -64,4 +64,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/alacritty-themer/SlackBuild b/ap/alacritty-themer/SlackBuild index c873498d..5e478db2 100755 --- a/ap/alacritty-themer/SlackBuild +++ b/ap/alacritty-themer/SlackBuild @@ -82,4 +82,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/amdgpud/SlackBuild b/ap/amdgpud/SlackBuild index f37efb07..dc6e89e3 100755 --- a/ap/amdgpud/SlackBuild +++ b/ap/amdgpud/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/bandwhich/SlackBuild b/ap/bandwhich/SlackBuild index 8995dffb..cf366043 100755 --- a/ap/bandwhich/SlackBuild +++ b/ap/bandwhich/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/bat/SlackBuild b/ap/bat/SlackBuild index fef4b02e..c6f226ac 100755 --- a/ap/bat/SlackBuild +++ b/ap/bat/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/btm/SlackBuild b/ap/btm/SlackBuild index 82a3ca60..071b8e35 100755 --- a/ap/btm/SlackBuild +++ b/ap/btm/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/checkssl/SlackBuild b/ap/checkssl/SlackBuild index 5fae4a94..e7728c18 100755 --- a/ap/checkssl/SlackBuild +++ b/ap/checkssl/SlackBuild @@ -72,4 +72,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/conty-bin/SlackBuild b/ap/conty-bin/SlackBuild index a3c9c870..65a70968 100755 --- a/ap/conty-bin/SlackBuild +++ b/ap/conty-bin/SlackBuild @@ -25,7 +25,7 @@ mkdir -p $REPOSITORY rm -fr $PKG mkdir -p $PKG$PREFIX/bin -cp $REPOSITORY/conty${EDITION}-${VERSION}.sh $PKG$PREFIX/bin/${PRGNAM} +cp $REPOSITORY/conty${EDITION}-${VERSION}.sh $PKG$PREFIX/bin/conty cd $PKG$PREFIX/bin/ cat < steam @@ -46,7 +46,7 @@ Name=Steam EOF for prg in wine winetricks lutris playonlinux4; do - ln -s ${PRGNAM} $prg + ln -s conty $prg cat < $PKG$PREFIX/share/applications/$prg.desktop [Desktop Entry] Encoding=UTF-8 @@ -60,21 +60,8 @@ done chmod +x $PKG$PREFIX/bin/* -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) - mkdir -p $PKG/install cat < $PKG/install/slack-desc - # HOW TO EDIT -THIS FILE: - # The "handy ruler" below makes it easier to edit a package description. Line - # up the first '|' above the ':' following the base package name, and the '|' - # on the right side marks the last column you can put a character in. You must - # make exactly 11 lines for the formatting to be correct. It's also - # customary to leave one space after the ':'. - |-----handy-ruler--------------------------------------------------------| $PRGNAM: $PRGNAM (Easy to use non-root container packed into a single executable) $PRGNAM: @@ -90,6 +77,4 @@ $PRGNAM: EOF cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la - -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION${EDITION}-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION${EDITION}-$ARCH-$BUILD$TAG.txz diff --git a/ap/conty/SlackBuild b/ap/conty/SlackBuild index 6703f436..0c3d8465 100755 --- a/ap/conty/SlackBuild +++ b/ap/conty/SlackBuild @@ -121,4 +121,4 @@ EOF cd "$PKG" || exit 1 rm -f "$PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la" -/sbin/makepkg -l y -c n "$OUTPUT/$PRGNAM-$VERSION${EDITION}-$ARCH-$BUILD$TAG.txz" +/sbin/makepkg --linkadd y --chown n --prepend "$OUTPUT/$PRGNAM-$VERSION${EDITION}-$ARCH-$BUILD$TAG.txz" diff --git a/ap/delta/SlackBuild b/ap/delta/SlackBuild index e4e12546..a2b347a8 100755 --- a/ap/delta/SlackBuild +++ b/ap/delta/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/diskus/SlackBuild b/ap/diskus/SlackBuild index 8fca8a4a..3f3fe0fe 100755 --- a/ap/diskus/SlackBuild +++ b/ap/diskus/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/dive/SlackBuild b/ap/dive/SlackBuild index e302e67f..84d39622 100755 --- a/ap/dive/SlackBuild +++ b/ap/dive/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/dua/SlackBuild b/ap/dua/SlackBuild index 8e84226e..dac2ecc3 100755 --- a/ap/dua/SlackBuild +++ b/ap/dua/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/dust/SlackBuild b/ap/dust/SlackBuild index 60638af9..9c4a8c7a 100755 --- a/ap/dust/SlackBuild +++ b/ap/dust/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/esptool/SlackBuild b/ap/esptool/SlackBuild index 0208dca6..4aa6a1bf 100755 --- a/ap/esptool/SlackBuild +++ b/ap/esptool/SlackBuild @@ -54,4 +54,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - .)-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr - .)-$ARCH-$BUILD$TAG.txz diff --git a/ap/exa/SlackBuild b/ap/exa/SlackBuild index 9ee5a7c0..270dd5bc 100755 --- a/ap/exa/SlackBuild +++ b/ap/exa/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/f3/SlackBuild b/ap/f3/SlackBuild index 6c4e677f..c4ba95e1 100755 --- a/ap/f3/SlackBuild +++ b/ap/f3/SlackBuild @@ -79,4 +79,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/fd/SlackBuild b/ap/fd/SlackBuild index 56304793..4f65fefe 100755 --- a/ap/fd/SlackBuild +++ b/ap/fd/SlackBuild @@ -82,4 +82,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/fish/SlackBuild b/ap/fish/SlackBuild index 85f935e1..90332257 100755 --- a/ap/fish/SlackBuild +++ b/ap/fish/SlackBuild @@ -83,4 +83,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/ap/getssl/SlackBuild b/ap/getssl/SlackBuild index 5e30377b..2ff7dd6f 100755 --- a/ap/getssl/SlackBuild +++ b/ap/getssl/SlackBuild @@ -70,4 +70,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/gopsuinfo/SlackBuild b/ap/gopsuinfo/SlackBuild index d22caab3..f9a77cb0 100755 --- a/ap/gopsuinfo/SlackBuild +++ b/ap/gopsuinfo/SlackBuild @@ -81,4 +81,4 @@ EOF # empaquetage rm -f "$PKG"/{,usr/}lib"$(uname -m | grep -o 64)"/*.la -/sbin/makepkg -l y -c n $OUTPUT/"$PRGNAM"-"$VERSION"-"$ARCH"-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/"$PRGNAM"-"$VERSION"-"$ARCH"-$BUILD$TAG.txz diff --git a/ap/grex/SlackBuild b/ap/grex/SlackBuild index 22cfac19..074a0c43 100755 --- a/ap/grex/SlackBuild +++ b/ap/grex/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/himalaya/SlackBuild b/ap/himalaya/SlackBuild index 5f7db48c..5da8de39 100755 --- a/ap/himalaya/SlackBuild +++ b/ap/himalaya/SlackBuild @@ -85,4 +85,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/hledger-bin/SlackBuild b/ap/hledger-bin/SlackBuild index d9172e2d..15fa5cf9 100755 --- a/ap/hledger-bin/SlackBuild +++ b/ap/hledger-bin/SlackBuild @@ -122,4 +122,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/ht/SlackBuild b/ap/ht/SlackBuild index 98f54165..c70ab3d7 100755 --- a/ap/ht/SlackBuild +++ b/ap/ht/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/hugo-bin/SlackBuild b/ap/hugo-bin/SlackBuild index a9ce896d..f3b2a3c9 100755 --- a/ap/hugo-bin/SlackBuild +++ b/ap/hugo-bin/SlackBuild @@ -68,4 +68,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n ${OUTPUT}/${PRGNAM}-$(echo ${VERSION} | tr - _)-${ARCH}-${BUILD}${TAG}.txz +/sbin/makepkg --linkadd y --chown n --prepend ${OUTPUT}/${PRGNAM}-$(echo ${VERSION} | tr - _)-${ARCH}-${BUILD}${TAG}.txz diff --git a/ap/humble-cli/SlackBuild b/ap/humble-cli/SlackBuild index e3180478..e0cff156 100755 --- a/ap/humble-cli/SlackBuild +++ b/ap/humble-cli/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/hyperfine/SlackBuild b/ap/hyperfine/SlackBuild index a51acd60..0abfcdd2 100755 --- a/ap/hyperfine/SlackBuild +++ b/ap/hyperfine/SlackBuild @@ -81,4 +81,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/icr/SlackBuild b/ap/icr/SlackBuild index 03c40ea9..273d364f 100755 --- a/ap/icr/SlackBuild +++ b/ap/icr/SlackBuild @@ -72,4 +72,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/ijq/SlackBuild b/ap/ijq/SlackBuild index ac08b352..27126976 100755 --- a/ap/ijq/SlackBuild +++ b/ap/ijq/SlackBuild @@ -73,4 +73,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/ion/SlackBuild b/ap/ion/SlackBuild index f27fb070..585297f2 100755 --- a/ap/ion/SlackBuild +++ b/ap/ion/SlackBuild @@ -82,4 +82,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/itd/SlackBuild b/ap/itd/SlackBuild index 2192c91d..b67466af 100755 --- a/ap/itd/SlackBuild +++ b/ap/itd/SlackBuild @@ -129,4 +129,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/jj/SlackBuild b/ap/jj/SlackBuild new file mode 100755 index 00000000..70bc1de3 --- /dev/null +++ b/ap/jj/SlackBuild @@ -0,0 +1,91 @@ +#!/bin/bash + +# variables +GITHUB_REPO=martinvonz/jj +VERSION=${VERSION:-latest} +BUILD=${BUILD:-1} + +TAG=gwh +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +ARCH=${ARCH:-$(uname -m)} + +REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/_repositories/$PRGNAM} +PREFIX=${PREFIX:-/usr} + +# nettoyage préalable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +cd $TMP +[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM +[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "x" ] && VERSION=trunk +[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION + +cargo build --release + +mkdir -p $PKG$PREFIX/bin +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; +chmod 755 $PKG$PREFIX/bin/* + +# Completions +mkdir -p $PKG/usr/share/bash-completion/completions/ +$PKG$PREFIX/bin/jj util completion > $PKG/usr/share/bash-completion/completions/jj + +mkdir -p $PKG/usr/share/fish/vendor_completions.d/ +$PKG$PREFIX/bin/jj util completion --fish > $PKG/usr/share/fish/vendor_completions.d/jj.fish + +mkdir -p $PKG/usr/share/zsh/site-functions/ +$PKG$PREFIX/bin/jj util completion --zsh > $PKG/usr/share/zsh/site-functions/_jj + +# move doc/ to the appropriate location +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp -a AUTHORS LICENSE* ./*.md docs/ $PKG$PREFIX/doc/$PRGNAM + +# correction +cd $PKG +chown -R root:root * + +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (A Git-compatible DVCS that is both simple and powerful) +$PRGNAM: +$PRGNAM: Jujutsu is a Git-compatible DVCS. It combines features from Git (data +$PRGNAM: model, speed), Mercurial (anonymous branching, simple CLI free from +$PRGNAM: "the index", revsets, powerful history-rewriting), and Pijul/Darcs +$PRGNAM: (first-class conflicts), with features not found in most of them +$PRGNAM: (working-copy-as-a-commit, undo functionality, automatic rebase, +$PRGNAM: safe replication via rsync, Dropbox, or distributed file system). +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/${GITHUB_REPO} +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/knock-bin/SlackBuild b/ap/knock-bin/SlackBuild index 168c4412..1b37c45d 100755 --- a/ap/knock-bin/SlackBuild +++ b/ap/knock-bin/SlackBuild @@ -58,4 +58,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n ${OUTPUT}/${PRGNAM}-$(echo ${VERSION} | tr - _)-${ARCH}-${BUILD}${TAG}.txz +/sbin/makepkg --linkadd y --chown n --prepend ${OUTPUT}/${PRGNAM}-$(echo ${VERSION} | tr - _)-${ARCH}-${BUILD}${TAG}.txz diff --git a/ap/ledger/SlackBuild b/ap/ledger/SlackBuild index c6a092b2..2504bbd6 100755 --- a/ap/ledger/SlackBuild +++ b/ap/ledger/SlackBuild @@ -101,4 +101,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/ap/legendary/SlackBuild b/ap/legendary/SlackBuild index 7f9b67a6..97c2440e 100755 --- a/ap/legendary/SlackBuild +++ b/ap/legendary/SlackBuild @@ -62,4 +62,4 @@ EOF # empaquetage cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/ap/logcli/SlackBuild b/ap/logcli/SlackBuild index 5f7b0543..ad77b7f8 100755 --- a/ap/logcli/SlackBuild +++ b/ap/logcli/SlackBuild @@ -56,4 +56,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/lsd/SlackBuild b/ap/lsd/SlackBuild index b6feaff1..e11bcb23 100755 --- a/ap/lsd/SlackBuild +++ b/ap/lsd/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/lsyncd/SlackBuild b/ap/lsyncd/SlackBuild index c0cf35c5..529d9f74 100755 --- a/ap/lsyncd/SlackBuild +++ b/ap/lsyncd/SlackBuild @@ -81,4 +81,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/ap/mdcat/SlackBuild b/ap/mdcat/SlackBuild index 59b17d53..b3f7fc1b 100755 --- a/ap/mdcat/SlackBuild +++ b/ap/mdcat/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/motion/SlackBuild b/ap/motion/SlackBuild index 07a82a6c..3e4a1732 100755 --- a/ap/motion/SlackBuild +++ b/ap/motion/SlackBuild @@ -130,4 +130,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/ap/mozwire/SlackBuild b/ap/mozwire/SlackBuild index 9905f960..3784c4d5 100755 --- a/ap/mozwire/SlackBuild +++ b/ap/mozwire/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/ncdu/SlackBuild b/ap/ncdu/SlackBuild index 9d922130..745a9cc3 100755 --- a/ap/ncdu/SlackBuild +++ b/ap/ncdu/SlackBuild @@ -32,8 +32,6 @@ git submodule update cp -R "$REPOSITORY" $TMP/ cd "$TMP/$PRGNAM/" || exit 1 -git checkout zig-0.10 - [ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0) [ "$VERSION" == "" ] && VERSION=trunk [ "$VERSION" == "trunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout "$VERSION" @@ -77,4 +75,4 @@ EOF # empaquetage rm -f "$PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la" -/sbin/makepkg -l y -c n "$OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz" +/sbin/makepkg --linkadd y --chown n --prepend "$OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz" diff --git a/ap/nu/SlackBuild b/ap/nu/SlackBuild index a4ed412c..f52934e0 100755 --- a/ap/nu/SlackBuild +++ b/ap/nu/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/nvtop/SlackBuild b/ap/nvtop/SlackBuild index d1b38245..8a1fbe87 100755 --- a/ap/nvtop/SlackBuild +++ b/ap/nvtop/SlackBuild @@ -82,4 +82,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/ap/oil/SlackBuild b/ap/oil/SlackBuild index 6e9ad827..9d7fac87 100755 --- a/ap/oil/SlackBuild +++ b/ap/oil/SlackBuild @@ -68,4 +68,4 @@ $PRGNAM: EOF rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/ap/pandoc-bin/SlackBuild b/ap/pandoc-bin/SlackBuild index a7deb5fb..5e0389dc 100755 --- a/ap/pandoc-bin/SlackBuild +++ b/ap/pandoc-bin/SlackBuild @@ -53,4 +53,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n ${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz +/sbin/makepkg --linkadd y --chown n --prepend ${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/ap/procs/SlackBuild b/ap/procs/SlackBuild index 7f59c045..238066eb 100755 --- a/ap/procs/SlackBuild +++ b/ap/procs/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/protontricks/SlackBuild b/ap/protontricks/SlackBuild index 37313f84..985bb12c 100755 --- a/ap/protontricks/SlackBuild +++ b/ap/protontricks/SlackBuild @@ -62,4 +62,4 @@ EOF # empaquetage cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/ap/ripgrep/SlackBuild b/ap/ripgrep/SlackBuild index 55990ea4..ea41da60 100755 --- a/ap/ripgrep/SlackBuild +++ b/ap/ripgrep/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/rustup/SlackBuild b/ap/rustup/SlackBuild index 1071e510..78f2d341 100755 --- a/ap/rustup/SlackBuild +++ b/ap/rustup/SlackBuild @@ -85,4 +85,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/sd/SlackBuild b/ap/sd/SlackBuild index 0e81c5df..37d4a00a 100755 --- a/ap/sd/SlackBuild +++ b/ap/sd/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/starship/SlackBuild b/ap/starship/SlackBuild index 5f090a87..65b4db1f 100755 --- a/ap/starship/SlackBuild +++ b/ap/starship/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/stow/SlackBuild b/ap/stow/SlackBuild index a10c66c9..d568fd71 100755 --- a/ap/stow/SlackBuild +++ b/ap/stow/SlackBuild @@ -85,4 +85,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/tldr/SlackBuild b/ap/tldr/SlackBuild index 4fda513b..2b677818 100755 --- a/ap/tldr/SlackBuild +++ b/ap/tldr/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/tre/SlackBuild b/ap/tre/SlackBuild index a5e9e4a8..e6206ce2 100755 --- a/ap/tre/SlackBuild +++ b/ap/tre/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/tv/SlackBuild b/ap/tv/SlackBuild index f5c9a421..162ecd84 100755 --- a/ap/tv/SlackBuild +++ b/ap/tv/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/viu/SlackBuild b/ap/viu/SlackBuild index 1e32321f..741b3f94 100755 --- a/ap/viu/SlackBuild +++ b/ap/viu/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/weboob/SlackBuild b/ap/weboob/SlackBuild index bca3832a..1d16be65 100755 --- a/ap/weboob/SlackBuild +++ b/ap/weboob/SlackBuild @@ -67,4 +67,4 @@ EOF # empaquetage cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/ap/wp-cli/SlackBuild b/ap/wp-cli/SlackBuild index 4a66011e..6c2398fd 100755 --- a/ap/wp-cli/SlackBuild +++ b/ap/wp-cli/SlackBuild @@ -46,4 +46,4 @@ EOF # empaquetage cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/ap/ycmd/SlackBuild b/ap/ycmd/SlackBuild index 237c7387..cbe8536b 100755 --- a/ap/ycmd/SlackBuild +++ b/ap/ycmd/SlackBuild @@ -85,4 +85,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/ytop/SlackBuild b/ap/ytop/SlackBuild index ccb8a2d6..39c182f7 100755 --- a/ap/ytop/SlackBuild +++ b/ap/ytop/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/d/ameba/SlackBuild b/d/ameba/SlackBuild index 7d6d5f57..e6bd2794 100755 --- a/d/ameba/SlackBuild +++ b/d/ameba/SlackBuild @@ -73,4 +73,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/d/bun-bin/SlackBuild b/d/bun-bin/SlackBuild index 6ded74cd..fd24ef68 100755 --- a/d/bun-bin/SlackBuild +++ b/d/bun-bin/SlackBuild @@ -58,4 +58,4 @@ $PRGNAM: https://bun.sh/ EOF rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/d/chruby/SlackBuild b/d/chruby/SlackBuild index c6073e14..908019d8 100755 --- a/d/chruby/SlackBuild +++ b/d/chruby/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/d/crystal-lang-bin/SlackBuild b/d/crystal-lang-bin/SlackBuild index 847f5a7d..7bc7b0b2 100755 --- a/d/crystal-lang-bin/SlackBuild +++ b/d/crystal-lang-bin/SlackBuild @@ -59,4 +59,4 @@ $PRGNAM: http://crystal-lang.org/ EOF rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$CLEAN_VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$CLEAN_VERSION-$ARCH-$BUILD$TAG.txz diff --git a/d/crystal-lang/SlackBuild b/d/crystal-lang/SlackBuild index 02030574..b043758e 100755 --- a/d/crystal-lang/SlackBuild +++ b/d/crystal-lang/SlackBuild @@ -102,4 +102,4 @@ $PRGNAM: http://crystal-lang.org/ EOF rm -f "$PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la" -/sbin/makepkg -l y -c n "$OUTPUT/$PRGNAM-${VERSION}_${SHARDS_VERSION}-$ARCH-$BUILD$TAG.txz" +/sbin/makepkg --linkadd y --chown n --prepend "$OUTPUT/$PRGNAM-${VERSION}_${SHARDS_VERSION}-$ARCH-$BUILD$TAG.txz" diff --git a/d/crystalline-bin/SlackBuild b/d/crystalline-bin/SlackBuild index ad8133b3..2676a66b 100755 --- a/d/crystalline-bin/SlackBuild +++ b/d/crystalline-bin/SlackBuild @@ -59,4 +59,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n ${OUTPUT}/${PRGNAM}-$(echo ${VERSION} | tr - _)-${ARCH}-${BUILD}${TAG}.txz +/sbin/makepkg --linkadd y --chown n --prepend ${OUTPUT}/${PRGNAM}-$(echo ${VERSION} | tr - _)-${ARCH}-${BUILD}${TAG}.txz diff --git a/d/dtc/SlackBuild b/d/dtc/SlackBuild index 3075c2dc..a6a2c57c 100755 --- a/d/dtc/SlackBuild +++ b/d/dtc/SlackBuild @@ -73,4 +73,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/d/factor-lang/SlackBuild b/d/factor-lang/SlackBuild index e0899551..06065e99 100755 --- a/d/factor-lang/SlackBuild +++ b/d/factor-lang/SlackBuild @@ -69,4 +69,4 @@ $PRGNAM: EOF rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/d/gforth-lang/SlackBuild b/d/gforth-lang/SlackBuild index 700b639f..1219dac2 100755 --- a/d/gforth-lang/SlackBuild +++ b/d/gforth-lang/SlackBuild @@ -81,4 +81,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/d/ghcup-bin/SlackBuild b/d/ghcup-bin/SlackBuild index 93dfec6c..d9711690 100755 --- a/d/ghcup-bin/SlackBuild +++ b/d/ghcup-bin/SlackBuild @@ -51,4 +51,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n ${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz +/sbin/makepkg --linkadd y --chown n --prepend ${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/d/hptools/SlackBuild b/d/hptools/SlackBuild index e7eb5324..e0be87b3 100755 --- a/d/hptools/SlackBuild +++ b/d/hptools/SlackBuild @@ -69,4 +69,4 @@ $PRGNAM: https://www.hpcalc.org/details/8971 EOF rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}_$PATCH_VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-${VERSION}_$PATCH_VERSION-$ARCH-$BUILD$TAG.txz diff --git a/d/libgccjit/SlackBuild b/d/libgccjit/SlackBuild new file mode 100755 index 00000000..32b672c3 --- /dev/null +++ b/d/libgccjit/SlackBuild @@ -0,0 +1,187 @@ +#!/bin/bash +# "gwh-ified" based on http://slackware.uk/slint/x86_64/slint-15.0/source/libgccjit/ + +cd $(dirname $0) ; CWD=$(pwd) + +PKGNAM=$(basename "$CWD") +BUILD=${BUILD:-2} +TAG=${TAG:-gwh} + +OFFICIAL_GCC_SRC_PATH=${OFFICIAL_GCC_SRC_PATH:-/home/installs/mirrors/slackware64-current/source/d/gcc/} +SRCNAM=gcc +SRCVER=${VERSION:-$(echo $OFFICIAL_GCC_SRC_PATH/$SRCNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +VERSION=$(echo $SRCVER | cut -f 1 -d _) + +TMP=${TMP:-/tmp/$TAG} +OUTPUT=${OUTPUT:-/tmp} + +# This is the main DESTDIR target: +PKG=$TMP/pkg-$PKGNAM + +# How many jobs to run in parallel: +NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$(uname -m)" in + i?86) ARCH=i586 ;; + arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$(uname -m) ;; + esac + export ARCH +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" + exit 0 +fi + +if [ "$ARCH" = "i386" ]; then + SLKCFLAGS="-O2 -march=i386 -mcpu=i686" + LIBDIRSUFFIX="" + LIB_ARCH=i386 +elif [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" + LIB_ARCH=i386 +elif [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" + LIB_ARCH=i386 +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686" + LIBDIRSUFFIX="" + LIB_ARCH=i386 +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" + LIB_ARCH=s390 +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" + LIB_ARCH=amd64 +elif [ "$ARCH" = "armv7hl" ]; then + SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16" + LIBDIRSUFFIX="" + LIB_ARCH=armv7hl +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" + LIB_ARCH=$ARCH +fi + +case "$ARCH" in + arm*) TARGET=$ARCH-slackware-linux-gnueabi ;; + *) TARGET=$ARCH-slackware-linux ;; +esac + +# Extract the source code: +mkdir -p $TMP +cd $TMP || exit 1 +rm -rf gcc-$SRCVER +tar xf $OFFICIAL_GCC_SRC_PATH/gcc-$SRCVER.tar.?z || exit 1 + +# Clear the build locations: +rm -rf $PKG +mkdir $PKG + +cd gcc-$SRCVER || exit 1 + +# Fix perms/owners: +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 754 \) \ + -exec chmod 755 {} \+ -o \ + \( -perm 664 \) \ + -exec chmod 644 {} \+ + +mkdir -p $PKG/usr/doc/$PKGNAM +cp -a \ + COPYING* gcc/ONEWS README INSTALL LAST_UPDATED \ + $PKG/usr/doc/$PKGNAM + +mkdir gcc.build.lnx +cd gcc.build.lnx + +if [ "$ARCH" != "x86_64" ]; then + GCC_ARCHOPTS="--with-arch=$ARCH" +else + GCC_ARCHOPTS="--disable-multilib" +fi + +CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + ../configure --prefix=/usr \ + --libdir=/usr/lib$LIBDIRSUFFIX \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --enable-shared \ + --enable-host-shared \ + --enable-bootstrap \ + --enable-languages=jit \ + --enable-threads=posix \ + --enable-checking=release \ + --enable-objc-gc \ + --with-system-zlib \ + --enable-libstdcxx-dual-abi \ + --with-default-libstdcxx-abi=new \ + --disable-libstdcxx-pch \ + --disable-libunwind-exceptions \ + --enable-__cxa_atexit \ + --disable-libssp \ + --enable-gnu-unique-object \ + --enable-plugin \ + --enable-lto \ + --disable-install-libiberty \ + --disable-werror \ + --with-gnu-ld \ + --with-isl \ + --verbose \ + --with-arch-directory=$LIB_ARCH \ + --disable-gtktest \ + --enable-clocale=gnu \ + $GCC_ARCHOPTS \ + --target=${TARGET} \ + --build=${TARGET} \ + --host=${TARGET} || exit 1 + +make $NUMJOBS bootstrap || exit 1 +make -C gcc DESTDIR="$PKG" jit.install-common jit.install-info +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +cd $PKG || exit 1 +rm -rf usr/bin usrlib64/gcc usr/libexec usr/man usr/info/dir +cd usr/info +gzip -9 * + +cd $PKG || exit 1 +mkdir -p install/ +cat < install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' on +# the right side marks the last column you can put a character in. You must make +# exactly 11 lines for the formatting to be correct. It's also customary to +# leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +libgccjit: libgccit (Just In Time Compilation: shared library and header files.) +libgccjit: +libgccjit: GCC can be built as a shared library "libgccjit.so", for generating +libgccjit: machine code from API calls, using GCC as the backend. +libgccjit: This shared library can then be dynamically-linked into bytecode +libgccjit: interpreters and other such programs that want to generate machine +libgccjit: code "on the fly" at run-time. It can also be used for ahead-of-time +libgccjit: code generation, for building standalone compilers (so the "jit" +libgccjit: part of the name is now something of a misnomer). +libgccjit: The library provides a C API, along with a C++ wrapper API, with +libgccjit: bindings for languages available from 3rd parties +libgccjit: +EOF + +makepkg --linkadd y --chown n --prepend $OUTPUT/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/d/newrpl-lang/SlackBuild b/d/newrpl-lang/SlackBuild index fb12df5d..1b99a330 100755 --- a/d/newrpl-lang/SlackBuild +++ b/d/newrpl-lang/SlackBuild @@ -124,4 +124,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/d/openjdk/SlackBuild b/d/openjdk/SlackBuild index 0acc5e85..eccf1fc1 100755 --- a/d/openjdk/SlackBuild +++ b/d/openjdk/SlackBuild @@ -74,4 +74,4 @@ $PRGNAM: https://sexyjdk.com EOF #rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKG_VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$PKG_VERSION-$ARCH-$BUILD$TAG.txz diff --git a/d/qbe/SlackBuild b/d/qbe/SlackBuild index 172158da..f06b0bb5 100755 --- a/d/qbe/SlackBuild +++ b/d/qbe/SlackBuild @@ -77,4 +77,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/d/racket-lang-bin/SlackBuild b/d/racket-lang-bin/SlackBuild index 454fc415..5753f1d1 100755 --- a/d/racket-lang-bin/SlackBuild +++ b/d/racket-lang-bin/SlackBuild @@ -55,4 +55,4 @@ $PRGNAM: EOF rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/d/rbspy/SlackBuild b/d/rbspy/SlackBuild index 444c7fd0..20f19e66 100755 --- a/d/rbspy/SlackBuild +++ b/d/rbspy/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/d/retroforth-lang/SlackBuild b/d/retroforth-lang/SlackBuild index 3eac9a72..16c69480 100755 --- a/d/retroforth-lang/SlackBuild +++ b/d/retroforth-lang/SlackBuild @@ -73,4 +73,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.txz diff --git a/d/rpl2-lang/SlackBuild.broken b/d/rpl2-lang/SlackBuild.broken index 7bb4a63e..330fe902 100755 --- a/d/rpl2-lang/SlackBuild.broken +++ b/d/rpl2-lang/SlackBuild.broken @@ -90,4 +90,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/d/rpn-lang/SlackBuild b/d/rpn-lang/SlackBuild index aacee29b..64e5c34e 100755 --- a/d/rpn-lang/SlackBuild +++ b/d/rpn-lang/SlackBuild @@ -84,4 +84,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/d/ruby-install/SlackBuild b/d/ruby-install/SlackBuild index 6984dbd4..d503f24c 100755 --- a/d/ruby-install/SlackBuild +++ b/d/ruby-install/SlackBuild @@ -74,4 +74,4 @@ EOF # empaquetage cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/d/scry/SlackBuild b/d/scry/SlackBuild index 7e59e28e..8357d3b4 100755 --- a/d/scry/SlackBuild +++ b/d/scry/SlackBuild @@ -77,4 +77,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/d/scryer-prolog/SlackBuild b/d/scryer-prolog/SlackBuild index aede1b2c..b801ba9c 100755 --- a/d/scryer-prolog/SlackBuild +++ b/d/scryer-prolog/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/d/stack-bin/SlackBuild b/d/stack-bin/SlackBuild index 7eab4052..b8c05a15 100755 --- a/d/stack-bin/SlackBuild +++ b/d/stack-bin/SlackBuild @@ -49,4 +49,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/d/trivy-bin/SlackBuild b/d/trivy-bin/SlackBuild index 83d2bd75..b4baf1fd 100755 --- a/d/trivy-bin/SlackBuild +++ b/d/trivy-bin/SlackBuild @@ -65,4 +65,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n ${OUTPUT}/${PRGNAM}-$(echo ${VERSION} | tr - _)-${ARCH}-${BUILD}${TAG}.txz +/sbin/makepkg --linkadd y --chown n --prepend ${OUTPUT}/${PRGNAM}-$(echo ${VERSION} | tr - _)-${ARCH}-${BUILD}${TAG}.txz diff --git a/d/u-boot-tools/SlackBuild b/d/u-boot-tools/SlackBuild index 69e8cee3..e7b15e5b 100755 --- a/d/u-boot-tools/SlackBuild +++ b/d/u-boot-tools/SlackBuild @@ -147,5 +147,5 @@ esac cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz +/sbin/makepkg --linkadd y --chown n --prepend $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz diff --git a/d/wabt/SlackBuild b/d/wabt/SlackBuild index 68cb1040..6fc854a8 100755 --- a/d/wabt/SlackBuild +++ b/d/wabt/SlackBuild @@ -84,4 +84,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/d/yarn/SlackBuild b/d/yarn/SlackBuild index 64fc6873..f2bf2a35 100755 --- a/d/yarn/SlackBuild +++ b/d/yarn/SlackBuild @@ -52,4 +52,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/d/zig-lang-bin/SlackBuild b/d/zig-lang-bin/SlackBuild index f71c37c5..46f3e6a4 100755 --- a/d/zig-lang-bin/SlackBuild +++ b/d/zig-lang-bin/SlackBuild @@ -56,4 +56,4 @@ $PRGNAM: EOF rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/e/emacs/SlackBuild b/e/emacs/SlackBuild index 76ee878d..b689740f 100755 --- a/e/emacs/SlackBuild +++ b/e/emacs/SlackBuild @@ -28,11 +28,11 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=emacs -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=gwh BRANCH=${BRANCH:-master} -VERSION=${VERSION:-"trunk"} +VERSION=${VERSION:-"latest"} REPOSITORY=/home/installs/SlackBuilds/_repositories/$PKGNAM @@ -85,9 +85,9 @@ rm -rf $PKGNAM [ ! -e $REPOSITORY ] && git clone git://git.savannah.gnu.org/emacs.git $REPOSITORY cd $REPOSITORY -git checkout $BRANCH +git reset --hard HEAD git pull --all -[ "x$VERSION" == "xtrunk" ] || git checkout $VERSION +#[ "x$VERSION" == "xtrunk" ] || git checkout $VERSION git clean -dfX # https://github.com/commercial-emacs/commercial-emacs @@ -96,14 +96,25 @@ git clean -dfX # https://github.com/commercial-emacs/commercial rm lisp/loaddefs.el # https://lists.gnu.org/r/emacs-devel/2021-04/msg01430.html -[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" +#[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" #mkdir -p $TMP/$PKGNAM cp -R $REPOSITORY $TMP/$PKGNAM cd $TMP/$PKGNAM || exit 1 -# tar xvf $CWD/$PKGNAM-$TARBALLVER.tar.xz || exit 1 -# cd $PKGNAM-$SRCDIRVER || exit 1 +case $VERSION in + trunk) + VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" + ;; + latest) + VERSION=$(git describe --tags --abbrev=0) + git checkout "$VERSION" + ;; + *) + VERSION=$VERSION + git checkout "emacs-$VERSION" + ;; +esac chown -R root:root . find . \ @@ -141,18 +152,21 @@ CFLAGS="$SLKCFLAGS" \ --with-gpm=yes \ --with-pgtk \ --with-tree-sitter \ - --with-native-compilation \ --enable-link-time-optimization \ - --with-json --with-xwidgets --with-xinput \ + --with-native-compilation=aot \ + --with-json \ + --with-xwidgets \ + --with-xinput \ --with-compress-install \ --without-gconf \ --with-gameuser=":games" \ --build=${ARCH}-slackware-linux || exit 1 -# --disable-libsystemd \ + # --disable-libsystemd \ # --with-x \ # --with-x-toolkit=${X_TOOLKIT:-gtk3} \ # --without-toolkit-scroll-bars \ + make bootstrap $NUMJOBS || exit 1 make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 @@ -233,4 +247,4 @@ if [ -z "$TAG" ] && [ ! -z "$X_TOOLKIT" ]; then fi cd $PKG -/sbin/makepkg -l y -c n $TMP/$PKGNAM-${EMACS_VERSION}_$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $TMP/$PKGNAM-${EMACS_VERSION}_$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/fonts/bitmap-fonts/SlackBuild b/fonts/bitmap-fonts/SlackBuild index 3b9365e7..74e9ba79 100755 --- a/fonts/bitmap-fonts/SlackBuild +++ b/fonts/bitmap-fonts/SlackBuild @@ -85,4 +85,4 @@ fi EOF cd "$PKG" || exit 1 -/sbin/makepkg -l y -c n "$OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.txz" +/sbin/makepkg --linkadd y --chown n --prepend "$OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.txz" diff --git a/fonts/terminus-font-otb/SlackBuild b/fonts/terminus-font-otb/SlackBuild index efa6b98e..040e8cd0 100755 --- a/fonts/terminus-font-otb/SlackBuild +++ b/fonts/terminus-font-otb/SlackBuild @@ -82,4 +82,4 @@ fi EOF cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$VERSION-noarch-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PKGNAM-$VERSION-noarch-$BUILD$TAG.txz diff --git a/generic-python.SlackBuild b/generic-python.SlackBuild index 9f8e4712..4107dc57 100755 --- a/generic-python.SlackBuild +++ b/generic-python.SlackBuild @@ -60,4 +60,4 @@ EOF # empaquetage cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/python-$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/python-$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/l/apcu/SlackBuild b/l/apcu/SlackBuild index 0d82b023..bd0135ed 100755 --- a/l/apcu/SlackBuild +++ b/l/apcu/SlackBuild @@ -90,4 +90,4 @@ EOF # empaquetage cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/l/basu/SlackBuild b/l/basu/SlackBuild index 80c7b345..c05392da 100755 --- a/l/basu/SlackBuild +++ b/l/basu/SlackBuild @@ -77,4 +77,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/l/fmt/SlackBuild b/l/fmt/SlackBuild index 1a3677da..66bc0591 100755 --- a/l/fmt/SlackBuild +++ b/l/fmt/SlackBuild @@ -79,4 +79,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/l/hinnant-date/SlackBuild b/l/hinnant-date/SlackBuild index 049413d5..dc33ba81 100755 --- a/l/hinnant-date/SlackBuild +++ b/l/hinnant-date/SlackBuild @@ -86,4 +86,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/l/libucl/SlackBuild b/l/libucl/SlackBuild index 2b5ed55c..ddd78a1d 100755 --- a/l/libucl/SlackBuild +++ b/l/libucl/SlackBuild @@ -90,4 +90,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/l/python-cairo-cffi/SlackBuild b/l/python-cairo-cffi/SlackBuild index a7d45058..e708d1a1 100755 --- a/l/python-cairo-cffi/SlackBuild +++ b/l/python-cairo-cffi/SlackBuild @@ -67,4 +67,4 @@ EOF # empaquetage cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/l/raylib/SlackBuild b/l/raylib/SlackBuild index 979e0c39..3d7cb748 100755 --- a/l/raylib/SlackBuild +++ b/l/raylib/SlackBuild @@ -80,4 +80,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/l/sdl12-compat/SlackBuild b/l/sdl12-compat/SlackBuild index 089d85d2..fc5e29fe 100755 --- a/l/sdl12-compat/SlackBuild +++ b/l/sdl12-compat/SlackBuild @@ -88,4 +88,4 @@ EOF # empaquetage rm -f "${PKG:?}"/{,usr/}lib"$(uname -m | grep -o 64)"/*.la -/sbin/makepkg -l y -c n "$OUTPUT/$PRGNAM-${VERSION//-/_/}-$ARCH-$BUILD$TAG.txz" +/sbin/makepkg --linkadd y --chown n --prepend "$OUTPUT/$PRGNAM-${VERSION//-/_/}-$ARCH-$BUILD$TAG.txz" diff --git a/l/spdlog/SlackBuild b/l/spdlog/SlackBuild index cc95f0d0..0dea0a40 100755 --- a/l/spdlog/SlackBuild +++ b/l/spdlog/SlackBuild @@ -80,4 +80,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/lua/awesome/SlackBuild b/lua/awesome/SlackBuild index d7ef762f..4e0cbea0 100755 --- a/lua/awesome/SlackBuild +++ b/lua/awesome/SlackBuild @@ -86,4 +86,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/lua/lua/SlackBuild b/lua/lua/SlackBuild index 7d2d6f11..d8e89f06 100755 --- a/lua/lua/SlackBuild +++ b/lua/lua/SlackBuild @@ -168,4 +168,4 @@ lua: EOF cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/lua/luarocks/SlackBuild b/lua/luarocks/SlackBuild index 145418b2..1bd9ba9b 100755 --- a/lua/luarocks/SlackBuild +++ b/lua/luarocks/SlackBuild @@ -103,4 +103,4 @@ EOF # empaquetage cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/n/calibre-web/SlackBuild b/n/calibre-web/SlackBuild index a29bea2c..636d4160 100755 --- a/n/calibre-web/SlackBuild +++ b/n/calibre-web/SlackBuild @@ -94,4 +94,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/n/forgejo/SlackBuild b/n/forgejo/SlackBuild index 6399d6fc..a0eea8d2 100755 --- a/n/forgejo/SlackBuild +++ b/n/forgejo/SlackBuild @@ -179,4 +179,4 @@ EOF cd "$PKG" || exit 1 rm -f "$PKG"/{,usr/}lib"$(uname -m | grep -o 64)"/*.la -/sbin/makepkg -l y -c n "$OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz" +/sbin/makepkg --linkadd y --chown n --prepend "$OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz" diff --git a/n/gitea/SlackBuild b/n/gitea/SlackBuild index aa3605f8..264545f8 100755 --- a/n/gitea/SlackBuild +++ b/n/gitea/SlackBuild @@ -157,4 +157,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/n/minecraft-server/SlackBuild b/n/minecraft-server/SlackBuild index 82ce7b72..c9043f49 100755 --- a/n/minecraft-server/SlackBuild +++ b/n/minecraft-server/SlackBuild @@ -107,4 +107,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/n/nextcloud-server/SlackBuild b/n/nextcloud-server/SlackBuild index 8de46ef4..ae136140 100755 --- a/n/nextcloud-server/SlackBuild +++ b/n/nextcloud-server/SlackBuild @@ -125,4 +125,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/n/pluxml/SlackBuild b/n/pluxml/SlackBuild index c26d8425..48d70cb8 100755 --- a/n/pluxml/SlackBuild +++ b/n/pluxml/SlackBuild @@ -73,4 +73,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/n/writefreely/SlackBuild b/n/writefreely/SlackBuild new file mode 100755 index 00000000..17e0dc2e --- /dev/null +++ b/n/writefreely/SlackBuild @@ -0,0 +1,128 @@ +#!/bin/bash + +CWD=$(pwd) + +PKGNAM=$(basename "$CWD") +VERSION=${VERSION:-$(curl -s https://api.github.com/repos/writefreely/writefreely/releases/latest | grep tag_name | grep -o "[0-9.]*")} +ARCH=${ARCH:-$(uname -m)} +BUILD=${BUILD:-3} +TAG=${TAG:-gwh} + +TMP=${TMP:-/tmp/$TAG} +PKG=$TMP/pkg-$PKGNAM +OUTPUT=${OUTPUT:-/tmp} + +REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/_repositories/$PKGNAM} + +mkdir -p "$REPOSITORY" + +# echo $ARCH | grep -q arm && SRC_ARCH=arm-7 +# echo $ARCH | grep -q 86 && SRC_ARCH=386 +echo "$ARCH" | grep -q 64 && SRC_ARCH=amd64 + +[ ! -e "$REPOSITORY/writefreely_${VERSION}_linux_${SRC_ARCH}.tar.gz" ] && wget -c "https://github.com/writefreely/writefreely/releases/download/v${VERSION}/writefreely_${VERSION}_linux_${SRC_ARCH}.tar.gz" -O "$REPOSITORY/writefreely_${VERSION}_linux_${SRC_ARCH}.tar.gz" + +rm -fr "$PKG" + +mkdir -p "$PKG/opt" +cd "$PKG/opt" || exit 1 +tar xvf "$REPOSITORY/writefreely_${VERSION}_linux_${SRC_ARCH}.tar.gz" + +mkdir -p "$PKG/etc/rc.d/" +cat < "$PKG/etc/rc.d/rc.$PKGNAM" +#!/bin/bash +#Slackware startup deamon script + +# Name of Service +NAME="Writefreely Daemon" + +# Command to run +CMD="/opt/writefreely/writefreely" + +# user used to run the daemon +USERNAME=apache + +# Process name of daemon, for killing it. +PROCESSNAME=writefreely + +# Option to run with deamon +OPTIONS="" + +PIDFILE=/var/run/writefreely.pid + +func_stop() { + [ -e \$PIDFILE ] && kill \$(cat \$PIDFILE) + # if [ "\$(ps aux | grep \$PROCESSNAME | grep -v grep)" ]; then + # echo -n "Stopping \$NAME ... " + # killall \$PROCESSNAME + # sleep 2 + # fi + + if [ ! "\$(ps aux | grep \$PROCESSNAME | grep -v grep)" ]; then + echo "Done!" + else + echo "Error!" + fi +} + +func_start() { + echo -n "Starting \$NAME ... " + su - \$USERNAME -c "\$CMD \$OPTIONS" & + sleep 2 + + if [ "\$(ps aux | grep \$PROCESSNAME | grep -v grep)" ]; then + echo "Done!" + else + echo "Error!" + fi +} + + +case \$1 in + "start") + func_start + ;; + + "stop") + func_stop + ;; + + "restart") + func_stop + sleep 2 + func_start + ;; + *) + echo "Usage; start|stop|restart" + ;; +esac +EOF +chmod +x "$PKG/etc/rc.d/rc.$PKGNAM" + +mkdir -p "$PKG/install" +cat < "$PKG/install/slack-desc" + # HOW TO EDIT +THIS FILE: + # The "handy ruler" below makes it easier to edit a package description. Line + # up the first '|' above the ':' following the base package name, and the '|' + # on the right side marks the last column you can put a character in. You must + # make exactly 11 lines for the formatting to be correct. It's also + # customary to leave one space after the ':'. + + |-----handy-ruler--------------------------------------------------------| +$PKGNAM: $PKGNAM (A clean, Markdown-based publishing platform) +$PKGNAM: +$PKGNAM: WriteFreely is a clean, minimalist publishing platform made for writers. +$PKGNAM: Start a blog, share knowledge within your organization, or build a +$PKGNAM: community around the shared act of writing. +$PKGNAM: +$PKGNAM: +$PKGNAM: +$PKGNAM: +$PKGNAM: https://writefreely.org/ +$PKGNAM: +EOF + +cd "$PKG" || exit 1 + +/sbin/makepkg --linkadd y --chown n --prepend "$OUTPUT/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.txz" diff --git a/wayland/Hyprland/SlackBuild b/wayland/Hyprland/SlackBuild index b2613f42..b6311f1a 100755 --- a/wayland/Hyprland/SlackBuild +++ b/wayland/Hyprland/SlackBuild @@ -51,35 +51,7 @@ PKGNAM=${PRGNAM} ###################### # EMBED DEPENDENCIES # ###################### -# # wlroots -# EMBED_WLROOTS=${EMBED_WLROOTS:-"yes"} -# if [ "$EMBED_WLROOTS" = "yes" ]; then -# WLROOTS_VERSION=${WLROOTS_VERSION:-$VERSION} -# WLROOTS_REPOSITORY=/home/installs/SlackBuilds/_repositories/wlroots -# [ ! -e "$WLROOTS_REPOSITORY" ] && git clone https://gitlab.freedesktop.org/wlroots/wlroots.git "$WLROOTS_REPOSITORY" -# cd "$WLROOTS_REPOSITORY" || exit 1 -# git reset --hard HEAD -# git pull --all - -# mkdir -p "$TMP/$PRGNAM"/subprojects/ -# [ ! -d "$TMP/$PRGNAM"/subprojects/wlroots ] && cp -a "$WLROOTS_REPOSITORY" "$TMP/$PRGNAM"/subprojects/wlroots -# cd "$TMP/$PRGNAM"/subprojects/wlroots || exit 1 -# case $WLROOTS_VERSION in -# trunk) -# # WLROOTS_VERSION="git_r$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" -# WLROOTS_VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" -# ;; -# latest) -# WLROOTS_VERSION=$(git describe --tags --abbrev=0) -# git checkout "$WLROOTS_VERSION" -# ;; -# *) -# git checkout "$WLROOTS_VERSION" -# ;; -# esac -# PKGNAM="${PKGNAM}+wlroots" -# PKGVERSION="${PKGVERSION}+${WLROOTS_VERSION}" -# fi +git submodule update --init --recursive # libliftoff EMBED_LIBLIFTOFF=${EMBED_LIBLIFTOFF:-"yes"} @@ -142,7 +114,7 @@ if [ "$EMBED_LIBDISPLAYINFO" = "yes" ]; then fi -# Back to compiling sway… +# Back to compiling cd "$TMP/$PRGNAM/" || exit 1 meson setup \ @@ -195,5 +167,5 @@ $PRGNAM: https://github.com/${GITHUB_REPO} EOF # empaquetage -rm -f "$PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la" -/sbin/makepkg -l y -c n "$OUTPUT/${PKGNAM}-$(echo "$PKGVERSION" | tr - _)-$ARCH-$BUILD$TAG.txz" +rm -f "$PKG"/{,usr/}lib"$(uname -m | grep -o 64)"/*.la +/sbin/makepkg --linkadd y --chown n --prepend "$OUTPUT"/"$PKGNAM"-"$(echo $PKGVERSION | tr - _)"-"$ARCH"-"$BUILD$TAG".txz diff --git a/wayland/autotiling/SlackBuild b/wayland/autotiling/SlackBuild index 7893118a..58807524 100755 --- a/wayland/autotiling/SlackBuild +++ b/wayland/autotiling/SlackBuild @@ -83,4 +83,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/cage/SlackBuild b/wayland/cage/SlackBuild index e7408940..693624f8 100755 --- a/wayland/cage/SlackBuild +++ b/wayland/cage/SlackBuild @@ -79,4 +79,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/dwl/SlackBuild b/wayland/dwl/SlackBuild index 9d4aa3f2..57c7c4f2 100755 --- a/wayland/dwl/SlackBuild +++ b/wayland/dwl/SlackBuild @@ -178,4 +178,4 @@ fi EOF cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/wayland/foot/SlackBuild b/wayland/foot/SlackBuild index 52046299..c7b1a227 100755 --- a/wayland/foot/SlackBuild +++ b/wayland/foot/SlackBuild @@ -79,4 +79,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/hikari/SlackBuild b/wayland/hikari/SlackBuild index 6ed2b343..c9c28312 100755 --- a/wayland/hikari/SlackBuild +++ b/wayland/hikari/SlackBuild @@ -106,4 +106,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/imv/SlackBuild b/wayland/imv/SlackBuild index 644575ef..361b7592 100755 --- a/wayland/imv/SlackBuild +++ b/wayland/imv/SlackBuild @@ -77,4 +77,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/japokwm/SlackBuild b/wayland/japokwm/SlackBuild index dfd43c89..acdab6d0 100755 --- a/wayland/japokwm/SlackBuild +++ b/wayland/japokwm/SlackBuild @@ -136,4 +136,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.txz diff --git a/wayland/kanshi/SlackBuild b/wayland/kanshi/SlackBuild index 5142e33a..ce372135 100755 --- a/wayland/kanshi/SlackBuild +++ b/wayland/kanshi/SlackBuild @@ -80,4 +80,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/lswt/SlackBuild b/wayland/lswt/SlackBuild index 6f3a36ff..da19caf3 100755 --- a/wayland/lswt/SlackBuild +++ b/wayland/lswt/SlackBuild @@ -73,4 +73,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/mako/SlackBuild b/wayland/mako/SlackBuild index 68edc7b5..b685fd84 100755 --- a/wayland/mako/SlackBuild +++ b/wayland/mako/SlackBuild @@ -80,4 +80,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/nwg-look/SlackBuild b/wayland/nwg-look/SlackBuild index 7716a370..a642854a 100755 --- a/wayland/nwg-look/SlackBuild +++ b/wayland/nwg-look/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f "$PKG"/{,usr/}lib"$(uname -m | grep -o 64)"/*.la -/sbin/makepkg -l y -c n $OUTPUT/"$PRGNAM"-"$VERSION"-"$ARCH"-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/"$PRGNAM"-"$VERSION"-"$ARCH"-$BUILD$TAG.txz diff --git a/wayland/nwg-panel/SlackBuild b/wayland/nwg-panel/SlackBuild index 8334730d..e8941cc4 100755 --- a/wayland/nwg-panel/SlackBuild +++ b/wayland/nwg-panel/SlackBuild @@ -83,4 +83,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/persway/SlackBuild b/wayland/persway/SlackBuild index e4439c1e..f87e2747 100755 --- a/wayland/persway/SlackBuild +++ b/wayland/persway/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/qtile-extras/SlackBuild b/wayland/qtile-extras/SlackBuild index a49abaf4..6f134746 100755 --- a/wayland/qtile-extras/SlackBuild +++ b/wayland/qtile-extras/SlackBuild @@ -74,4 +74,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/qtile/SlackBuild b/wayland/qtile/SlackBuild index fcf7ccc1..904b30aa 100755 --- a/wayland/qtile/SlackBuild +++ b/wayland/qtile/SlackBuild @@ -149,4 +149,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/river/SlackBuild b/wayland/river/SlackBuild index 9497615c..87cd3258 100755 --- a/wayland/river/SlackBuild +++ b/wayland/river/SlackBuild @@ -119,4 +119,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/salut/SlackBuild b/wayland/salut/SlackBuild index 76274abc..512a4f44 100755 --- a/wayland/salut/SlackBuild +++ b/wayland/salut/SlackBuild @@ -77,4 +77,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/seatd/SlackBuild b/wayland/seatd/SlackBuild index e9dd6379..7d7e0046 100755 --- a/wayland/seatd/SlackBuild +++ b/wayland/seatd/SlackBuild @@ -75,4 +75,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.txz diff --git a/wayland/sfwbar/SlackBuild b/wayland/sfwbar/SlackBuild index 75feb48f..0bdcf612 100755 --- a/wayland/sfwbar/SlackBuild +++ b/wayland/sfwbar/SlackBuild @@ -77,4 +77,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/sway/SlackBuild b/wayland/sway/SlackBuild index 230f2287..1b695c51 100755 --- a/wayland/sway/SlackBuild +++ b/wayland/sway/SlackBuild @@ -273,4 +273,4 @@ EOF # empaquetage rm -f "$PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la" -/sbin/makepkg -l y -c n "$OUTPUT/${PKGNAM}-$(echo "$PKGVERSION" | tr - _)-$ARCH-$BUILD$TAG.txz" +/sbin/makepkg --linkadd y --chown n --prepend "$OUTPUT/${PKGNAM}-$(echo "$PKGVERSION" | tr - _)-$ARCH-$BUILD$TAG.txz" diff --git a/wayland/swaybg/SlackBuild b/wayland/swaybg/SlackBuild index 92a92377..9830f13d 100755 --- a/wayland/swaybg/SlackBuild +++ b/wayland/swaybg/SlackBuild @@ -77,4 +77,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/swayidle/SlackBuild b/wayland/swayidle/SlackBuild index 9228e5c1..0ddd5a40 100755 --- a/wayland/swayidle/SlackBuild +++ b/wayland/swayidle/SlackBuild @@ -77,4 +77,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/swaylock/SlackBuild b/wayland/swaylock/SlackBuild index 7ccd7181..12c2d99f 100755 --- a/wayland/swaylock/SlackBuild +++ b/wayland/swaylock/SlackBuild @@ -77,4 +77,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/swayr/SlackBuild b/wayland/swayr/SlackBuild index ed7dd519..e10afed6 100755 --- a/wayland/swayr/SlackBuild +++ b/wayland/swayr/SlackBuild @@ -97,4 +97,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/vivarium/SlackBuild b/wayland/vivarium/SlackBuild index 93c221bc..f8135023 100755 --- a/wayland/vivarium/SlackBuild +++ b/wayland/vivarium/SlackBuild @@ -143,4 +143,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.txz diff --git a/wayland/waybar/SlackBuild b/wayland/waybar/SlackBuild index e5cff186..606f347f 100755 --- a/wayland/waybar/SlackBuild +++ b/wayland/waybar/SlackBuild @@ -125,4 +125,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/wlopm/SlackBuild b/wayland/wlopm/SlackBuild index 9f1891e6..eefd33db 100755 --- a/wayland/wlopm/SlackBuild +++ b/wayland/wlopm/SlackBuild @@ -73,4 +73,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/wlr-randr/SlackBuild b/wayland/wlr-randr/SlackBuild index 8ba1d74a..78677647 100755 --- a/wayland/wlr-randr/SlackBuild +++ b/wayland/wlr-randr/SlackBuild @@ -73,4 +73,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/wlroots/SlackBuild b/wayland/wlroots/SlackBuild index 64dee24e..ec58e146 100755 --- a/wayland/wlroots/SlackBuild +++ b/wayland/wlroots/SlackBuild @@ -89,4 +89,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/wofi/SlackBuild b/wayland/wofi/SlackBuild index 7f6ddf68..0878a286 100755 --- a/wayland/wofi/SlackBuild +++ b/wayland/wofi/SlackBuild @@ -74,4 +74,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/xap/LDCad/SlackBuild b/xap/LDCad/SlackBuild index a0cad188..1216d482 100755 --- a/xap/LDCad/SlackBuild +++ b/xap/LDCad/SlackBuild @@ -134,4 +134,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n ${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz +/sbin/makepkg --linkadd y --chown n --prepend ${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/xap/alacritty/SlackBuild b/xap/alacritty/SlackBuild index 7c7538cf..93a5df8a 100755 --- a/xap/alacritty/SlackBuild +++ b/xap/alacritty/SlackBuild @@ -98,4 +98,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.txz diff --git a/xap/alttab/SlackBuild b/xap/alttab/SlackBuild index 86f7e5d2..13414d63 100755 --- a/xap/alttab/SlackBuild +++ b/xap/alttab/SlackBuild @@ -91,4 +91,4 @@ $PRGNAM: EOF rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/xap/android-x86/SlackBuild b/xap/android-x86/SlackBuild index b98e87b1..81930bf9 100755 --- a/xap/android-x86/SlackBuild +++ b/xap/android-x86/SlackBuild @@ -99,4 +99,4 @@ $PRGNAM: EOF rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/xap/brightnessctl/SlackBuild b/xap/brightnessctl/SlackBuild index a0897cc7..960935c6 100755 --- a/xap/brightnessctl/SlackBuild +++ b/xap/brightnessctl/SlackBuild @@ -85,4 +85,4 @@ EOF # empaquetage cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/xap/calibre-bin/SlackBuild b/xap/calibre-bin/SlackBuild index 91ba3df4..24d930b5 100755 --- a/xap/calibre-bin/SlackBuild +++ b/xap/calibre-bin/SlackBuild @@ -75,4 +75,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n ${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz +/sbin/makepkg --linkadd y --chown n --prepend ${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/xap/dbeaver-bin/SlackBuild b/xap/dbeaver-bin/SlackBuild index 2e324516..cca3c574 100755 --- a/xap/dbeaver-bin/SlackBuild +++ b/xap/dbeaver-bin/SlackBuild @@ -109,4 +109,4 @@ dbeaver: Homepage: https://dbeaver.jkiss.org EOF cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/xap/gammastep/SlackBuild b/xap/gammastep/SlackBuild index 25075227..03bcc913 100755 --- a/xap/gammastep/SlackBuild +++ b/xap/gammastep/SlackBuild @@ -82,4 +82,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/xap/hp49flash/SlackBuild b/xap/hp49flash/SlackBuild index 11a13e10..c68e220b 100755 --- a/xap/hp49flash/SlackBuild +++ b/xap/hp49flash/SlackBuild @@ -57,4 +57,4 @@ $PRGNAM: EOF rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-${VERSION}-$ARCH-$BUILD$TAG.txz diff --git a/xap/hptalx/SlackBuild b/xap/hptalx/SlackBuild index 895489e1..b3d15e24 100755 --- a/xap/hptalx/SlackBuild +++ b/xap/hptalx/SlackBuild @@ -62,4 +62,4 @@ $PRGNAM: EOF rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-${VERSION}-$ARCH-$BUILD$TAG.txz diff --git a/xap/i3status-rust/SlackBuild b/xap/i3status-rust/SlackBuild index 24c5caa0..87c95a95 100755 --- a/xap/i3status-rust/SlackBuild +++ b/xap/i3status-rust/SlackBuild @@ -85,4 +85,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/xap/image-roll/SlackBuild b/xap/image-roll/SlackBuild index 2676b16f..cf6a16a0 100755 --- a/xap/image-roll/SlackBuild +++ b/xap/image-roll/SlackBuild @@ -78,4 +78,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/xap/inkscape-bin/SlackBuild b/xap/inkscape-bin/SlackBuild index 7f05c577..3340a499 100755 --- a/xap/inkscape-bin/SlackBuild +++ b/xap/inkscape-bin/SlackBuild @@ -2,9 +2,9 @@ # variables CWD=$(pwd) -VERSION=${VERSION:-1.2.2} -ITEMNB=${ITEMNB:-37359} -COMMITNB=${COMMITNB:-b0a8486} +VERSION=${VERSION:-1.3} +ITEMNB=${ITEMNB:-42330} +COMMITNB=${COMMITNB:-0e150ed} PRGNAM=$(basename $CWD) ARCH="AppImage" @@ -30,7 +30,7 @@ chmod +x ${PRGNAM}-${VERSION}.AppImage mkdir -p $PKG$PREFIX/bin/ cd $PKG$PREFIX/bin/ -ln -s /opt/$PRGNAM/${PRGNAM}-${VERSION}.AppImage ${PRGNAM} +ln -s /opt/$PRGNAM/${PRGNAM}-${VERSION}.AppImage inkscape # correction cd $PKG @@ -52,4 +52,4 @@ $PRGNAM: EOF # empaquetage -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/xap/kitty/SlackBuild b/xap/kitty/SlackBuild index 999078ce..7e0e2f99 100755 --- a/xap/kitty/SlackBuild +++ b/xap/kitty/SlackBuild @@ -67,4 +67,4 @@ EOF # empaquetage cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/xap/leocad/SlackBuild b/xap/leocad/SlackBuild index a6b08c1a..01aeec20 100755 --- a/xap/leocad/SlackBuild +++ b/xap/leocad/SlackBuild @@ -96,4 +96,4 @@ EOF # empaquetage cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo ${VERSION}_${LIBRARY_VERSION} | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo ${VERSION}_${LIBRARY_VERSION} | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/xap/makemkv/SlackBuild b/xap/makemkv/SlackBuild index b6885cd4..d4fae2da 100755 --- a/xap/makemkv/SlackBuild +++ b/xap/makemkv/SlackBuild @@ -98,4 +98,4 @@ $PRGNAM: EOF rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/xap/mozillavpn-bin/SlackBuild b/xap/mozillavpn-bin/SlackBuild index 04007627..6c3c785b 100755 --- a/xap/mozillavpn-bin/SlackBuild +++ b/xap/mozillavpn-bin/SlackBuild @@ -60,4 +60,4 @@ EOF cd "$PKG" || exit 1 chown -R root:root ./* rm -f "$PKG"/{,usr/}lib"$(uname -m | grep -o 64)"/*.la -/sbin/makepkg -l y -c n "${OUTPUT}"/"${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz" +/sbin/makepkg --linkadd y --chown n --prepend "${OUTPUT}"/"${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz" diff --git a/xap/nextcloud-client/SlackBuild b/xap/nextcloud-client/SlackBuild index 160e7e46..93bc05cf 100755 --- a/xap/nextcloud-client/SlackBuild +++ b/xap/nextcloud-client/SlackBuild @@ -85,4 +85,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/xap/nextcloud-client/SlackBuild.appImage b/xap/nextcloud-client/SlackBuild.appImage index 0786f4cd..df7f4c11 100755 --- a/xap/nextcloud-client/SlackBuild.appImage +++ b/xap/nextcloud-client/SlackBuild.appImage @@ -51,4 +51,4 @@ $PRGNAM: EOF # empaquetage -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/xap/polybar/SlackBuild b/xap/polybar/SlackBuild index 22124ccd..afe59ba8 100755 --- a/xap/polybar/SlackBuild +++ b/xap/polybar/SlackBuild @@ -88,4 +88,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/xap/radeon-profile/SlackBuild b/xap/radeon-profile/SlackBuild index eace5224..2e5cfdcf 100755 --- a/xap/radeon-profile/SlackBuild +++ b/xap/radeon-profile/SlackBuild @@ -69,4 +69,4 @@ EOF # empaquetage cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo ${VERSION}_${LIBRARY_VERSION} | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo ${VERSION}_${LIBRARY_VERSION} | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/xap/rkvm/SlackBuild b/xap/rkvm/SlackBuild index 5856c0f4..96c71d08 100755 --- a/xap/rkvm/SlackBuild +++ b/xap/rkvm/SlackBuild @@ -172,4 +172,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/xap/thorium-reader-bin/SlackBuild b/xap/thorium-reader-bin/SlackBuild index 1b343e43..5c5a1c71 100755 --- a/xap/thorium-reader-bin/SlackBuild +++ b/xap/thorium-reader-bin/SlackBuild @@ -53,4 +53,4 @@ $PRGNAM: EOF # empaquetage -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/xap/wezterm/SlackBuild b/xap/wezterm/SlackBuild index a4dd9ac1..5912d74a 100755 --- a/xap/wezterm/SlackBuild +++ b/xap/wezterm/SlackBuild @@ -79,4 +79,4 @@ EOF # empaquetage rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/xap/x48ng/SlackBuild b/xap/x48ng/SlackBuild index 597fd53a..569b94ee 100755 --- a/xap/x48ng/SlackBuild +++ b/xap/x48ng/SlackBuild @@ -86,4 +86,4 @@ $PRGNAM: https://github.com/${GITHUB_REPO} EOF rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/xap/x49gp/SlackBuild b/xap/x49gp/SlackBuild index 3ebab437..3a8b4a69 100755 --- a/xap/x49gp/SlackBuild +++ b/xap/x49gp/SlackBuild @@ -127,4 +127,4 @@ $PRGNAM: https://github.com/${GITHUB_REPO} EOF rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/y/Blockout/SlackBuild b/y/Blockout/SlackBuild index 14486e5d..c0231b4f 100755 --- a/y/Blockout/SlackBuild +++ b/y/Blockout/SlackBuild @@ -180,4 +180,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}$TAG.txz diff --git a/y/FlashBack/SlackBuild b/y/FlashBack/SlackBuild index 77a51479..d505a2d2 100755 --- a/y/FlashBack/SlackBuild +++ b/y/FlashBack/SlackBuild @@ -181,4 +181,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}$TAG.txz diff --git a/y/cboard/SlackBuild b/y/cboard/SlackBuild index feac8520..b03e2a2f 100755 --- a/y/cboard/SlackBuild +++ b/y/cboard/SlackBuild @@ -85,4 +85,4 @@ $PRGNAM: EOF rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/y/dhewm3-data/SlackBuild b/y/dhewm3-data/SlackBuild index d01d58dc..8a5ca996 100755 --- a/y/dhewm3-data/SlackBuild +++ b/y/dhewm3-data/SlackBuild @@ -46,4 +46,4 @@ $PRGNAM: EOF rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/y/ioquake3-data/SlackBuild b/y/ioquake3-data/SlackBuild index 3879f095..10be2deb 100755 --- a/y/ioquake3-data/SlackBuild +++ b/y/ioquake3-data/SlackBuild @@ -47,4 +47,4 @@ $PRGNAM: EOF rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/y/iortcw-data/SlackBuild b/y/iortcw-data/SlackBuild index c2207cbb..fe997014 100755 --- a/y/iortcw-data/SlackBuild +++ b/y/iortcw-data/SlackBuild @@ -48,4 +48,4 @@ $PRGNAM: EOF rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/y/lutris/SlackBuild b/y/lutris/SlackBuild index b9c2b582..b5378cf5 100755 --- a/y/lutris/SlackBuild +++ b/y/lutris/SlackBuild @@ -113,4 +113,4 @@ fi EOF cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/y/minecraft-launcher/SlackBuild b/y/minecraft-launcher/SlackBuild index 60f3a88f..d14092db 100755 --- a/y/minecraft-launcher/SlackBuild +++ b/y/minecraft-launcher/SlackBuild @@ -71,4 +71,4 @@ EOF cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n ${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz +/sbin/makepkg --linkadd y --chown n --prepend ${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/y/steam/SlackBuild b/y/steam/SlackBuild index 157b1594..b7fa417a 100755 --- a/y/steam/SlackBuild +++ b/y/steam/SlackBuild @@ -143,4 +143,4 @@ fi EOF cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/y/steamtinkerlaunch/SlackBuild b/y/steamtinkerlaunch/SlackBuild index 1eae4a34..dcf87b21 100755 --- a/y/steamtinkerlaunch/SlackBuild +++ b/y/steamtinkerlaunch/SlackBuild @@ -77,4 +77,4 @@ EOF # empaquetage cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo ${VERSION} | tr - _)-$ARCH-$BUILD$TAG.txz +/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo ${VERSION} | tr - _)-$ARCH-$BUILD$TAG.txz