Switch tdeadmin and tdeutils to CMake. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>pull/107/head
parent
6beb7211c3
commit
5f439b5fb1
@ -1,45 +1,46 @@
|
||||
# Maintainer: David C. Rankin <drankinatty at gmail dot com>
|
||||
|
||||
pkgname=tde-tdeutils
|
||||
pkgver=14.0.5
|
||||
pkgver=14.0.10
|
||||
pkgrel=1
|
||||
pkgdesc="The TDE something - with Trinity upstream"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://scm.trinitydesktop.org/scm/git/${pkgname#*-}"
|
||||
url="https://scm.trinitydesktop.org/scm/git/${pkgname#*-}"
|
||||
license=('GPL')
|
||||
groups=('tde-base')
|
||||
depends=('tde-tdebase' 'xmms2')
|
||||
makedepends=('pkgconfig' 'autoconf' 'automake' 'libtool')
|
||||
makedepends=('pkgconfig' 'cmake')
|
||||
optdepends=()
|
||||
provides=("${pkgname#*-}")
|
||||
conflicts=("trinity-${pkgname#*-}")
|
||||
replaces=("trinity-${pkgname#*-}")
|
||||
options=('staticlibs' 'libtool' '!emptydirs')
|
||||
# install='pkgname.install'
|
||||
source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/tdeutils-R${pkgver}.tar.bz2")
|
||||
md5sums=('fa80d40539342071baf2e70514887791')
|
||||
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/core/tdeutils-trinity-${pkgver}.tar.xz")
|
||||
md5sums=('95e778a8775b416739fd7e836e4ecdcd')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}
|
||||
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||
|
||||
# CMAKE - create out of source build directory
|
||||
build() {
|
||||
cd ${srcdir}
|
||||
msg "Creating out-of-source build directory: ${srcdir}/${_builddir}"
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
## cmake call
|
||||
## cmake call
|
||||
msg "Starting cmake..."
|
||||
cmake ../tdeutils \
|
||||
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||
-DWITH_DPMS=ON \
|
||||
-DBUILD_ALL=ON
|
||||
cmake ${srcdir}/${pkgname#*-}-trinity-${pkgver} \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||
-DWITH_DPMS=ON \
|
||||
-DBUILD_ALL=ON
|
||||
|
||||
make VERBOSE=1
|
||||
msg "Building - ${pkgname#*-}..."
|
||||
make $NUMJOBS
|
||||
}
|
||||
|
||||
package() {
|
||||
msg "Packaging - $pkgname-$pkgver"
|
||||
cd ${srcdir}/build # cmake
|
||||
|
||||
make -j1 DESTDIR="$pkgdir" install
|
||||
cd ${srcdir}/build
|
||||
make -j1 DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
Loading…
Reference in new issue