blob: 3f25fd4af4f251afb0ff86f66280c605697ef6a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# 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
}
|