diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-09-22 17:25:57 +0200 |
---|---|---|
committer | TDE Gitea <gitea@mirror.git.trinitydesktop.org> | 2021-09-29 06:38:41 +0000 |
commit | 08dc2d3a905752c1f405392c4f2e33ba577a9b8b (patch) | |
tree | 2e6f4dbd0bf48e8fe6bc4e41888253eef71d3f32 /arch/tde-extra/tde-tdepowersave/PKGBUILD | |
parent | 9ef3d4a4b9fc3e366f4a169482997f5ce2fbdf4f (diff) | |
download | tde-packaging-08dc2d3a905752c1f405392c4f2e33ba577a9b8b.tar.gz tde-packaging-08dc2d3a905752c1f405392c4f2e33ba577a9b8b.zip |
ArchLinux: Update remaining application in tde-extra to R14.0.10.
Switch amarok, kmplayer, ksplash-engine-moodin,
tde-systemsettings, tdesudo and tdmtheme to CMake.
Backport patches to tdesudo to resolve FTBFS.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'arch/tde-extra/tde-tdepowersave/PKGBUILD')
-rw-r--r-- | arch/tde-extra/tde-tdepowersave/PKGBUILD | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/arch/tde-extra/tde-tdepowersave/PKGBUILD b/arch/tde-extra/tde-tdepowersave/PKGBUILD index 65f5a99f8..f89a988f0 100644 --- a/arch/tde-extra/tde-tdepowersave/PKGBUILD +++ b/arch/tde-extra/tde-tdepowersave/PKGBUILD @@ -5,11 +5,11 @@ _mod=tdepowersave _cat=applications/ _kdemod="${_mod/tde/kde}" pkgname="tde-$_mod" -pkgver=14.0.5 +pkgver=14.0.10 pkgrel=1 pkgdesc="Trinity Desktop Enviroment $_cat$_mod" arch=('i686' 'x86_64') -url="http://scm.trinitydesktop.org/scm/git/$_mod" +url="https://scm.trinitydesktop.org/scm/git/$_mod" license=('GPL') #provides=("$_mod") groups=('tde-extra') @@ -18,7 +18,6 @@ depends=( 'tde-dbus-1-tqt' ) makedepends=( - 'autoconf' 'cmake' 'pkgconfig' ) @@ -28,27 +27,26 @@ confilicts=("trinity-$_kdemod" "kdemod3-$_kdemod") options=('staticlibs' 'libtool' '!strip') install= -source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R$pkgver/$_cat$_mod-R$pkgver.tar.bz2") +source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R$pkgver/main/$_cat$_mod-trinity-$pkgver.tar.xz") +md5sums=('64daecf2c9061f3797b2cab8f0ad347b') -build() { - cd "${srcdir}/${_cat}${_mod}" - - msg "Patch sources" - sed -i 's/^int kdemain/KDE_EXPORT \0/' src/main.cpp +[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity +build() { msg "Creating out-of-source build directory: ${srcdir}/build" - mkdir -p "$srcdir/build" - cd "$srcdir/build" + mkdir -p "${srcdir}/build" + cd "${srcdir}/build" - msg "Starting cmake..." + export PKG_CONFIG_PATH=${TDEDIR}/lib/pkgconfig:${PKG_CONFIG_PATH} - export LIBRARY_PATH="$LIBRARY_PATH:/opt/trinity/lib/" - cmake ${srcdir}/${_cat}${_mod} \ + msg "Starting cmake..." + cmake ${srcdir}/${_mod}-trinity-${pkgver} \ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \ -DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \ -DBUILD_ALL=ON \ -DWITH_GCC_VISIBILITY=ON + msg "Building - ${pkgname#*-}..." make VERBOSE=1 $NUMJOBS } @@ -57,4 +55,3 @@ package() { cd "$srcdir/build" make -j1 DESTDIR="$pkgdir" install } -md5sums=('5006a20e844e3d8dc2ba8dbc41487990') |