You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/arch/tde-base/tde-tdeutils/PKGBUILD

46 lines
1.1 KiB

# Maintainer: David C. Rankin <drankinatty at gmail dot com>
pkgname=tde-tdeutils
pkgver=14.0.5
pkgrel=1
pkgdesc="The TDE something - with Trinity upstream"
arch=('i686' 'x86_64')
url="http://scm.trinitydesktop.org/scm/git/${pkgname#*-}"
license=('GPL')
groups=('tde-base')
depends=('tde-tdebase' 'xmms2')
makedepends=('pkgconfig' 'autoconf' 'automake' 'libtool')
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')
build() {
cd ${srcdir}
# CMAKE - create out of source build directory
msg "Creating out-of-source build directory: ${srcdir}/${_builddir}"
mkdir -p build
cd build
## cmake call
msg "Starting cmake..."
cmake ../tdeutils \
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
-DWITH_DPMS=ON \
-DBUILD_ALL=ON
make VERBOSE=1
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build # cmake
make -j1 DESTDIR="$pkgdir" install
}