summaryrefslogtreecommitdiffstats
path: root/arch/tde-extra/tde-systemsettings/PKGBUILD
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-09-22 17:25:57 +0200
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2021-09-29 06:38:41 +0000
commit08dc2d3a905752c1f405392c4f2e33ba577a9b8b (patch)
tree2e6f4dbd0bf48e8fe6bc4e41888253eef71d3f32 /arch/tde-extra/tde-systemsettings/PKGBUILD
parent9ef3d4a4b9fc3e366f4a169482997f5ce2fbdf4f (diff)
downloadtde-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-systemsettings/PKGBUILD')
-rw-r--r--arch/tde-extra/tde-systemsettings/PKGBUILD46
1 files changed, 20 insertions, 26 deletions
diff --git a/arch/tde-extra/tde-systemsettings/PKGBUILD b/arch/tde-extra/tde-systemsettings/PKGBUILD
index 239f47606..afbddda4f 100644
--- a/arch/tde-extra/tde-systemsettings/PKGBUILD
+++ b/arch/tde-extra/tde-systemsettings/PKGBUILD
@@ -1,11 +1,11 @@
# Contributor: e1z0 <justinas at eofnet dot lt>
pkgname=tde-systemsettings
-pkgver=14.0.5
+pkgver=14.0.10
pkgrel=1
pkgdesc="TDE System Settings"
arch=('i686' 'x86_64')
-url='http://scm.trinitydesktop.org/scm/git/applications/tde-systemsettings'
+url='https://scm.trinitydesktop.org/scm/git/applications/tde-systemsettings'
license=('GPL')
groups=('tde-extra')
depends=('tde-tdebase')
@@ -14,36 +14,30 @@ makedepends=('pkgconfig' 'cmake')
#conflicts=('tde-systemsettings')
#replaces=('tde-systemsettings')
options=('staticlibs' 'libtool' '!strip')
-source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/tde-systemsettings-R${pkgver}.tar.bz2")
-md5sums=('2a59f87b39bd63b8ae30eca38763a3ec')
+source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/applications/tde-systemsettings-trinity-${pkgver}.tar.xz")
+md5sums=('aa7b76706221850c5ef5519360247e7b')
# install=''
-build() {
- ## Generate config files and update with autoreconf
- cd ${srcdir}/applications/${pkgname}
-
- msg "Copying system libtool files...."
- cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in
- cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh
-
- msg "Running make -f admin/Makefile.common ...."
- make -f admin/Makefile.common
+[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
- ## configure
- msg "Configuring - ${pkgname}..."
-
- ./configure --prefix=${TDEDIR}
- make $NUMJOBS
+build() {
+ msg "Creating out-of-source build directory: ${srcdir}/build"
+ mkdir -p ${srcdir}/build
+ cd ${srcdir}/build
+
+ msg "Starting cmake..."
+ cmake ${srcdir}/${pkgname}-trinity-${pkgver} \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \
+ -DBUILD_ALL=ON \
+ -DBUILD_KNETWORKCONF=OFF
+
+ msg "Building - ${pkgname#*-}..."
+ make $NUMJOBS
}
package() {
msg "Packaging - $pkgname-$pkgver"
- cd ${srcdir}/applications/${pkgname}
-
+ cd ${srcdir}/build
make -j1 DESTDIR="${pkgdir}" install
-
- rm -rf ${pkgdir}/opt/trinity/share/applications/tde/kcmfontinst.desktop
- rm -rf ${pkgdir}/opt/trinity/share/applications/tde/laptop.desktop
- rm -rf ${pkgdir}/opt/trinity/share/desktop-directories/tde-settings-power.directory
- rm -rf ${pkgdir}/opt/trinity/share/desktop-directories/tde-settings-system.directory
}