Skip to content

Commit aac6a6e

Browse files
author
falkTX
committed
Start script to update neon stuff
1 parent 3c07c37 commit aac6a6e

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

scripts/update-kde5-neon-pkgs

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
sudo apt-get update
6+
sudo apt-get upgrade
7+
8+
mkdir -p ~/kde5-pkgs
9+
cd ~/kde5-pkgs
10+
11+
# TODO update base packages first
12+
# TODO get version for all base packages
13+
14+
BASE_PACKAGES=("" "")
15+
16+
if ! dpkg -l | grep kmix | grep -q kxstudio; then
17+
rm -rf kmix*
18+
apt-get source kmix
19+
pushd kmix-*
20+
sed -i "/libpulse-dev/d" debian/control
21+
VERSION=$(cat debian/changelog | head -n 1 | awk '{printf$2}')
22+
VERSION=$(python3 -c 'import sys; print(sys.argv[1].replace("(","").replace(")","").rsplit("+",1)[0]+"+kxstudio1")' ${VERSION})
23+
dch --force-distribution -D bionic -v ${VERSION} "Build without pulseaudio"
24+
debuild --no-lintian -S -sa -d
25+
popd
26+
fi
27+
28+
# libkf5dbusaddons-dev,
29+
# libkf5globalaccel-dev,
30+
# libkf5i18n-dev,
31+
# libkf5kdelibs4support-dev,
32+
# libkf5xmlgui-dev,

0 commit comments

Comments
 (0)