summaryrefslogtreecommitdiffstats
path: root/arch/tde-extra/tde-tdmtheme/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tde-extra/tde-tdmtheme/PKGBUILD')
-rw-r--r--arch/tde-extra/tde-tdmtheme/PKGBUILD58
1 files changed, 22 insertions, 36 deletions
diff --git a/arch/tde-extra/tde-tdmtheme/PKGBUILD b/arch/tde-extra/tde-tdmtheme/PKGBUILD
index aa991c312..83b79322e 100644
--- a/arch/tde-extra/tde-tdmtheme/PKGBUILD
+++ b/arch/tde-extra/tde-tdmtheme/PKGBUILD
@@ -1,56 +1,42 @@
# Contributor: e1z0 <justinas at eofnet dot lt>
pkgname=tde-tdmtheme
-pkgver=14.0.5
+pkgver=14.0.10
pkgrel=1
pkgdesc="TDM Theme"
arch=('i686' 'x86_64')
-url='http://scm.trinitydesktop.org/scm/git/applications/tdmtheme'
+url='https://scm.trinitydesktop.org/scm/git/applications/tdmtheme'
license=('GPL')
groups=('tde-extra')
depends=('tde-tdebase')
-makedepends=('pkgconfig' 'automake')
+makedepends=('pkgconfig' 'cmake')
#provides=('tdmtheme')
#conflicts=('tdmtheme')
#replaces=('tdmtheme')
options=('staticlibs' 'libtool' '!strip')
-source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/tdmtheme-R${pkgver}.tar.bz2")
-md5sums=('dc202459e80fde7b469ef1cfb684803c')
+source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/applications/tdmtheme-trinity-${pkgver}.tar.xz")
+md5sums=('b085fa2792024415fb2174633875adbe')
# install=''
-build() {
- # old ruby1.8 path
- export PATH=/opt/ruby1.8/bin:$PATH
- ## 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#*-}..."
- CFLAGS="${CFLAGS} -fpermissive" \
- CXXFLAGS="${CXXFLAGS} -fpermissive" \
- ./configure \
- --prefix=${TDEDIR} \
- --with-qt-dir=${QTDIR} \
- --with-qt-includes=${QTDIR}/include \
- --with-qt-libraries=${QTDIR}/lib \
- --sysconfdir=${TDEDIR}/etc \
- --localstatedir=/var \
- --enable-closure
-
- msg "Building - ${pkgname#*-}..."
-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
+
+ msg "Building - ${pkgname#*-}..."
+ make $NUMJOBS
}
package() {
-msg "Packaging - $pkgname-$pkgver"
- cd ${srcdir}/applications/${pkgname#*-} # use for libtool
-
-make -j1 DESTDIR="${pkgdir}" install
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/build
+ make -j1 DESTDIR="${pkgdir}" install
}