summaryrefslogtreecommitdiffstats
path: root/arch/tde-base/tde-tdeutils/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tde-base/tde-tdeutils/PKGBUILD')
-rw-r--r--arch/tde-base/tde-tdeutils/PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/arch/tde-base/tde-tdeutils/PKGBUILD b/arch/tde-base/tde-tdeutils/PKGBUILD
new file mode 100644
index 000000000..3f25fd4af
--- /dev/null
+++ b/arch/tde-base/tde-tdeutils/PKGBUILD
@@ -0,0 +1,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
+}