summaryrefslogtreecommitdiffstats
path: root/arch/tde-extra/tde-systemsettings
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tde-extra/tde-systemsettings')
-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
}