1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-09-19 20:13:19 +02:00

feat: intellij, disable redistribution for some pkgs

This commit is contained in:
Jozef Steinhübl 2024-04-04 17:15:44 +02:00
parent f4a24d7103
commit e983de1c12
4 changed files with 8 additions and 0 deletions

View file

@ -5,5 +5,10 @@ for xbps_pkg in $(ls -1 ./srcpkgs); do
continue continue
fi fi
if grep -q "restricted=yes" ./srcpkgs/${xbps_pkg}/template; then
# license :(
continue
fi
./xbps-src pkg -Q ${xbps_pkg} || exit 1 ./xbps-src pkg -Q ${xbps_pkg} || exit 1
done done

View file

@ -15,6 +15,7 @@ distfiles="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stab
checksum=cfe502ef052c5805fb90f22093c4bdba35b69fa1e5529d26df31d3bec0224e9b checksum=cfe502ef052c5805fb90f22093c4bdba35b69fa1e5529d26df31d3bec0224e9b
skiprdeps="/opt/google/chrome/libqt5_shim.so /opt/google/chrome/libqt6_shim.so" skiprdeps="/opt/google/chrome/libqt5_shim.so /opt/google/chrome/libqt6_shim.so"
restricted=yes
nostrip=yes nostrip=yes
do_install() { do_install() {

View file

@ -16,6 +16,7 @@ nopie=yes
python_version=3 python_version=3
# requires liblldb.so which is unversioned, pulled by lldb-devel # requires liblldb.so which is unversioned, pulled by lldb-devel
skiprdeps="/usr/lib/intellij-idea-ultimate-edition/plugins/Kotlin/bin/linux/LLDBFrontend" skiprdeps="/usr/lib/intellij-idea-ultimate-edition/plugins/Kotlin/bin/linux/LLDBFrontend"
restricted=yes
do_extract() { do_extract() {
bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_filename} --strip-components=1 -C . bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_filename} --strip-components=1 -C .

View file

@ -15,6 +15,7 @@ license="custom: commercial"
homepage="https://code.visualstudio.com/" homepage="https://code.visualstudio.com/"
distfiles="https://update.code.visualstudio.com/${version}/linux-x64/stable>code_x86_${version}.tar.gz" distfiles="https://update.code.visualstudio.com/${version}/linux-x64/stable>code_x86_${version}.tar.gz"
restricted=yes
checksum="c2e97cdc63ff1bcbfbb10c227b5398623d21f21e487108fa1d740dabe7d37985" checksum="c2e97cdc63ff1bcbfbb10c227b5398623d21f21e487108fa1d740dabe7d37985"
do_install() { do_install() {