|
|
|
# Maintainer: David C. Rankin <drankinatty at gmail dot com>
|
|
|
|
|
|
|
|
pkgname=tde-tdeutils
|
|
|
|
pkgver=14.0.10
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="The TDE something - with Trinity upstream"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="https://scm.trinitydesktop.org/scm/git/${pkgname#*-}"
|
|
|
|
license=('GPL')
|
|
|
|
groups=('tde-base')
|
|
|
|
depends=('tde-tdebase' 'xmms2')
|
|
|
|
makedepends=('pkgconfig' 'cmake' 'python2')
|
|
|
|
optdepends=()
|
|
|
|
provides=("${pkgname#*-}")
|
|
|
|
conflicts=("trinity-${pkgname#*-}")
|
|
|
|
replaces=("trinity-${pkgname#*-}")
|
|
|
|
options=('staticlibs' 'libtool' '!emptydirs')
|
|
|
|
# install='pkgname.install'
|
|
|
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/core/tdeutils-trinity-${pkgver}.tar.xz")
|
|
|
|
md5sums=('95e778a8775b416739fd7e836e4ecdcd')
|
|
|
|
|
|
|
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}
|
|
|
|
msg "Creating out-of-source build directory: ${srcdir}/${_builddir}"
|
|
|
|
mkdir -p build
|
|
|
|
cd build
|
|
|
|
|
|
|
|
## cmake call
|
|
|
|
msg "Starting cmake..."
|
|
|
|
cmake ${srcdir}/${pkgname#*-}-trinity-${pkgver} \
|
|
|
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
|
|
|
-DWITH_DPMS=ON \
|
|
|
|
-DBUILD_ALL=ON
|
|
|
|
|
|
|
|
msg "Building - ${pkgname#*-}..."
|
|
|
|
make $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
msg "Packaging - $pkgname-$pkgver"
|
|
|
|
cd ${srcdir}/build
|
|
|
|
make -j1 DESTDIR="${pkgdir}" install
|
|
|
|
}
|