removed dropped things added PKGBUILD templates fixed kde-style-lipstik PKGBUILDpull/3/head
parent
2130815b4a
commit
620523010a
@ -1,54 +1,54 @@
|
||||
# $Id$
|
||||
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
|
||||
#
|
||||
# All modifications and uses of this file are licensed under
|
||||
# the software for which this file was made for, should the software
|
||||
# be under an Open Source License, at least version 1.9, defined
|
||||
# by the Open Source Initiative. In other cases, this file is automatically
|
||||
# released to the Public Domain.
|
||||
#
|
||||
|
||||
pkgname=trinity-konversation
|
||||
pkgver=3513
|
||||
pkgrel=1
|
||||
|
||||
arch=('i686' 'x86_64')
|
||||
|
||||
url='http://www.trinitydesktop.org'
|
||||
license=('GPL')
|
||||
groups=('trinity')
|
||||
pkgdesc="Trinity - Konversation IRC client"
|
||||
depends=('trinity-kdelibs' 'trinity-qt3' 'trinity-tqtinterface')
|
||||
pkgdesc="Trinity - pkgdesc"
|
||||
|
||||
depends=('trinity-kdelibs')
|
||||
makedepends=('pkgconfig' 'autoconf' 'automake')
|
||||
|
||||
options=('libtool' '!strip')
|
||||
|
||||
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/konversation-3.5.13.tar.gz)
|
||||
md5sums=('0f0e0415dad4c19bc885c9addadf4026')
|
||||
|
||||
build() {
|
||||
|
||||
msg "Setting PATH, CMAKE and Trinity Environment variables"
|
||||
export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
|
||||
export CMAKE_INCLUDE_PATH=/opt/qt/include:/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include:/opt/trinity/include/libkrandr
|
||||
export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
|
||||
export PKG_CONFIG_PATH=:/opt/trinity/lib/pkgconfig:/opt/qt/lib/pkgconfig
|
||||
_builddir=applications/konversation
|
||||
_prefix=/opt/trinity
|
||||
|
||||
export CFLAGS=-I/opt/triniy/include/tqt
|
||||
export CXXFLAGS=-I/opt/trinity/include/tqt
|
||||
|
||||
trinity_prefix="/opt/trinity"
|
||||
build() {
|
||||
msg "Setting Trinity Environment variables"
|
||||
export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
|
||||
export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
|
||||
|
||||
msg "Starting autoconf..."
|
||||
cd "$srcdir/$cmpdir"
|
||||
cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
make -f admin/Makefile.common
|
||||
|
||||
msg "Starting cmake..."
|
||||
msg "Starting configure..."
|
||||
./configure \
|
||||
--with-qt-dir=${QTDIR} \
|
||||
--with-qt-inculdes=${QTDIR}/include \
|
||||
--with-qt-libraries=${QTDIR}/lib \
|
||||
--prefix=${_prefix} \
|
||||
--with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
|
||||
--with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
|
||||
|
||||
cd "$srcdir/applications/konversation"
|
||||
make -f admin/Makefile.common
|
||||
./configure --with-qt-dir=/opt/qt/ --prefix=/opt/trinity
|
||||
msg "Building ${pkgname}..."
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
msg "Packaging - $pkgname-$pkgver"
|
||||
# cd ${srcdir}/${_svnmod}
|
||||
cd ${srcdir}/build
|
||||
|
||||
make DESTDIR="$pkgdir/" install
|
||||
|
||||
# rm -r ${srcdir}/${_svnmod}
|
||||
# cd ${srcdir}/build
|
||||
cd ${srcdir}/${_builddir}
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
|
||||
|
||||
pkgname=trinity-kde-style-lipstik
|
||||
pkgver=3513
|
||||
pkgrel=1
|
||||
|
||||
arch=('i686' 'x86_64')
|
||||
|
||||
url='http://www.trinitydesktop.org'
|
||||
license=('GPL')
|
||||
groups=('trinity')
|
||||
pkgdesc="Trinity - Lipstik style"
|
||||
|
||||
depends=('trinity-kdelibs' 'trinity-kdebase')
|
||||
makedepends=('pkgconfig' 'autoconf' 'automake')
|
||||
|
||||
options=('libtool' '!strip')
|
||||
|
||||
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/kde-style-lipstik-3.5.13.tar.gz)
|
||||
md5sums=('1585d4df7f0c68499fafa0b8ecb82dab')
|
||||
|
||||
_builddir=applications/kde-style-lipstik
|
||||
_prefix=/opt/trinity
|
||||
|
||||
build() {
|
||||
|
||||
msg "Setting Trinity Environment variables"
|
||||
export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
|
||||
export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
|
||||
|
||||
msg "Starting autoconf..."
|
||||
cd "$srcdir/${_builddir}"
|
||||
cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
make -f admin/Makefile.common
|
||||
|
||||
msg "Starting configure..."
|
||||
./configure --with-qt-dir=${QTDIR} \
|
||||
--prefix=${_prefix} \
|
||||
--with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
|
||||
--with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
|
||||
|
||||
msg "Building ${pkgname}..."
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
msg "Packaging - $pkgname-$pkgver"
|
||||
cd ${srcdir}/${_builddir}
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
|
||||
|
||||
pkgname=trinity-knetworkmanager
|
||||
pkgver=3513
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://www.trinitydesktop.org'
|
||||
license=('GPL')
|
||||
groups=('trinity-extras')
|
||||
pkgdesc="Trinity - Networkmanager applet"
|
||||
depends=('trinity-kdebase' 'networkmanager' 'dbus' 'hal' 'trinity-dbus-tqt-1')
|
||||
makedepends=('pkgconfig' 'cmake' 'imake')
|
||||
options=('libtool' '!strip')
|
||||
source=('http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/knetworkmanager8-3.5.13.tar.gz' 'knetworkmanager.patch')
|
||||
md5sums=('def7b5d1fae4d407d05507fe8bc47f5c'
|
||||
'bc1fba7f0cd2ee6264c986a56f725669')
|
||||
|
||||
_svnmod=applications/knetworkmanager8
|
||||
|
||||
build() {
|
||||
|
||||
msg "Setting PATH, CMAKE and Trinity Environment variables"
|
||||
export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
|
||||
export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include
|
||||
export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
|
||||
export PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig
|
||||
|
||||
trinity_prefix="/opt/trinity"
|
||||
|
||||
#patch -N -d ${srcdir} -p0 < knetworkmanager.patch
|
||||
|
||||
cd $srcdir
|
||||
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
msg "Starting cmake..."
|
||||
cmake ${srcdir}/${_svnmod} \
|
||||
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||
-DBUILD_ALL=ON
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
msg "Packaging - $pkgname-$pkgver"
|
||||
cd ${srcdir}/build
|
||||
make DESTDIR="$pkgdir/" install
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,49 +0,0 @@
|
||||
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
|
||||
|
||||
pkgname=trinity-knetworkmanager
|
||||
pkgver=3513
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://www.trinitydesktop.org'
|
||||
license=('GPL')
|
||||
groups=('trinity-extras')
|
||||
pkgdesc="Trinity - Networkmanager applet"
|
||||
depends=('trinity-kdebase' 'networkmanager' 'dbus' 'hal' 'trinity-dbus-tqt-1')
|
||||
makedepends=('pkgconfig' 'cmake' 'imake')
|
||||
options=('libtool' '!strip')
|
||||
source=('http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/knetworkmanager9-3.5.13.tar.gz' 'knetworkmanager.patch')
|
||||
md5sums=('11108480d620db10e7848446750e2cc7'
|
||||
'bc1fba7f0cd2ee6264c986a56f725669')
|
||||
|
||||
_svnmod=applications/knetworkmanager9
|
||||
|
||||
build() {
|
||||
|
||||
msg "Setting PATH, CMAKE and Trinity Environment variables"
|
||||
export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
|
||||
export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include
|
||||
export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
|
||||
export PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig
|
||||
|
||||
trinity_prefix="/opt/trinity"
|
||||
|
||||
patch -N -d ${srcdir} -p0 < knetworkmanager.patch
|
||||
|
||||
cd $srcdir
|
||||
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
msg "Starting cmake..."
|
||||
cmake ${srcdir}/${_svnmod} \
|
||||
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||
-DBUILD_ALL=ON
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
msg "Packaging - $pkgname-$pkgver"
|
||||
cd ${srcdir}/build
|
||||
make DESTDIR="$pkgdir/" install
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,55 +0,0 @@
|
||||
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
|
||||
|
||||
pkgname=trinity-kpilot
|
||||
pkgver=3513
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://www.trinitydesktop.org'
|
||||
license=('GPL')
|
||||
groups=('trinity-extras')
|
||||
pkgdesc="Trinity - kpilot Palm sync tool"
|
||||
depends=('trinity-kdebase')
|
||||
makedepends=('pkgconfig' 'cmake' 'imake')
|
||||
options=('libtool' '!strip')
|
||||
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/kpilot-3.5.13.tar.gz)
|
||||
md5sums=('adac05d936e6947ac0b1033c8d3192cd')
|
||||
|
||||
_svnmod=applications/kpilot
|
||||
|
||||
build() {
|
||||
|
||||
msg "Setting PATH, CMAKE and Trinity Environment variables"
|
||||
export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
|
||||
export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include
|
||||
export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
|
||||
export PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig
|
||||
|
||||
trinity_prefix="/opt/trinity"
|
||||
|
||||
cd $srcdir
|
||||
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
# Baho additions
|
||||
CFLAGS=${CFLAGS}" -fpermissive"
|
||||
CXXFLAGS=${CXXFLAGS}" -fpermissive"
|
||||
|
||||
msg "Starting cmake..."
|
||||
cmake ${srcdir}/${_svnmod} \
|
||||
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||
-DQT_VERSION=3 \
|
||||
-DWITH_IFP=ON \
|
||||
-DWITH_NJB=ON \
|
||||
-DWITH_MTP=ON \
|
||||
-DWITH_DAAP=ON \
|
||||
-DBUILD_ALL=ON
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
msg "Packaging - $pkgname-$pkgver"
|
||||
cd ${srcdir}/build
|
||||
make DESTDIR="$pkgdir/" install
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
|
||||
|
||||
pkgname=trinity-style-lipstik
|
||||
pkgver=3513
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://www.trinitydesktop.org'
|
||||
license=('GPL')
|
||||
groups=('trinity-extras')
|
||||
pkgdesc="Trinity - Lipstik sytle"
|
||||
depends=('trinity-kdebase')
|
||||
makedepends=('pkgconfig' 'cmake' 'imake')
|
||||
options=('libtool' '!strip')
|
||||
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/kde-style-lipstik-3.5.13.tar.gz)
|
||||
md5sums=('1585d4df7f0c68499fafa0b8ecb82dab')
|
||||
|
||||
_svnmod=applications/kde-style-lipstik
|
||||
|
||||
build() {
|
||||
|
||||
msg "Setting PATH, CMAKE and Trinity Environment variables"
|
||||
export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
|
||||
export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include
|
||||
export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
|
||||
export PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig
|
||||
|
||||
export CFLAGS=-I/opt/trinity/include/tqt
|
||||
export CXXFLAGS=-I/opt/trinity/include/tqt
|
||||
|
||||
trinity_prefix="/opt/trinity"
|
||||
|
||||
cd $srcdir/${_svnmod}
|
||||
make -f admin/Makefile.common
|
||||
|
||||
cd $srcdir
|
||||
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
msg "Starting cmake..."
|
||||
cmake ${srcdir}/${_svnmod} \
|
||||
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||
-DBUILD_ALL=ON
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
msg "Packaging - $pkgname-$pkgver"
|
||||
cd ${srcdir}/build
|
||||
make DESTDIR="$pkgdir/" install
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
|
||||
|
||||
pkgname=trinity-rosegarden
|
||||
pkgver=3513
|
||||
pkgrel=170
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://www.trinitydesktop.org'
|
||||
license=('GPL')
|
||||
groups=('trinity-extras')
|
||||
pkgdesc="Trinity - Rosegarden, A MIDI and audio sequencer and musical notation editor."
|
||||
depends=('trinity-kdelibs' 'dssi' 'jack' 'liblo' 'liblrdf' 'fftw')
|
||||
makedepends=('pkgconfig' 'cmake' 'imake')
|
||||
options=('libtool' '!strip')
|
||||
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/rosegarden-3.5.13.tar.gz)
|
||||
md5sums=('8906d1797bae89920d9a9ab54c09b49d')
|
||||
|
||||
_svnmod=applications/rosegarden
|
||||
|
||||
build() {
|
||||
|
||||
msg "Setting PATH, CMAKE and Trinity Environment variables"
|
||||
export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
|
||||
export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include
|
||||
export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
|
||||
export PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig
|
||||
|
||||
trinity_prefix="/opt/trinity"
|
||||
|
||||
cd $srcdir
|
||||
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
msg "Starting cmake..."
|
||||
cmake ${srcdir}/${_svnmod} \
|
||||
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||
-DQT_MOC_EXECUTABLE=/opt/trinity/bin/tmoc \
|
||||
-DWANT_DEBUG=OFF \
|
||||
-DWANT_FULLDBG=OFF \
|
||||
-DWANT_SOUND=ON \
|
||||
-DWANT_JACK=ON \
|
||||
-DWANT_DSSI=ON \
|
||||
-DWANT_LIRC=ON \
|
||||
-DWANT_PCH=OFF \
|
||||
-DBUILD_ALL=ON
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
msg "Packaging - $pkgname-$pkgver"
|
||||
cd ${srcdir}/build
|
||||
make DESTDIR="$pkgdir/" install
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
contents of this directory
|
||||
|
||||
autotools_PKGBUILD: example of PKGBUILD for building
|
||||
trinity components with autotools. Should be used
|
||||
as template for new PKGBUILDS.
|
||||
|
||||
cmake_PKGBUILD: example of PKGBUILD for building
|
||||
trinity components with CMake. Should be used as
|
||||
a template for new PKGBUILDS.
|
||||
|
||||
batchbuild: simple scirpt for batch building trinity
|
||||
components.
|
@ -0,0 +1,59 @@
|
||||
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
|
||||
|
||||
pkgname=trinity-pkname
|
||||
pkgver=3513
|
||||
pkgrel=1
|
||||
|
||||
arch=('i686' 'x86_64')
|
||||
|
||||
url='http://www.trinitydesktop.org'
|
||||
license=('GPL')
|
||||
groups=('trinity')
|
||||
pkgdesc="Trinity - pkgdesc"
|
||||
|
||||
depends=('trinity-kdelibs')
|
||||
makedepends=('pkgconfig' 'autoconf' 'automake')
|
||||
optdepends=()
|
||||
|
||||
provides=($pkgname)
|
||||
conflicts=()
|
||||
replaces=()
|
||||
|
||||
options=('libtool' '!strip')
|
||||
|
||||
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/pkname-3.5.13.tar.gz)
|
||||
md5sums=('pkgmd5')
|
||||
|
||||
_builddir=applications/pkname
|
||||
_prefix=/opt/trinity
|
||||
|
||||
build() {
|
||||
|
||||
msg "Setting Trinity Environment variables"
|
||||
export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
|
||||
export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
|
||||
|
||||
#msg "Patching..."
|
||||
#patch -N -d ${srcdir} -p0 < pkname.patch
|
||||
|
||||
msg "Starting autoconf..."
|
||||
cd "$srcdir/${_builddir}"
|
||||
cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
make -f admin/Makefile.common
|
||||
|
||||
msg "Starting configure..."
|
||||
./configure --with-qt-dir=${QTDIR} \
|
||||
--prefix=${_prefix} \
|
||||
--with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
|
||||
--with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
|
||||
|
||||
msg "Building ${pkgname}..."
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
msg "Packaging - $pkgname-$pkgver"
|
||||
cd ${srcdir}/${_builddir}
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
|
||||
|
||||
pkgname=trinity-pkname
|
||||
pkgver=3513
|
||||
pkgrel=1
|
||||
|
||||
arch=('i686' 'x86_64')
|
||||
|
||||
url='http://www.trinitydesktop.org'
|
||||
license=('GPL')
|
||||
groups=('trinity-extras')
|
||||
pkgdesc="Trinity - pkgdesc"
|
||||
|
||||
depends=('trinity-kdelibs')
|
||||
makedepends=('pkgconfig' 'cmake' 'imake')
|
||||
optdepends=()
|
||||
|
||||
provides=($pkgname)
|
||||
confilcts=()
|
||||
replaces=()
|
||||
|
||||
options=('libtool' '!strip')
|
||||
|
||||
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/pkname-3.5.13.tar.gz)
|
||||
md5sums=('')
|
||||
|
||||
_svnmod=applications/kpowersave
|
||||
_builddir=build
|
||||
_prefix="/opt/trinity"
|
||||
|
||||
build() {
|
||||
msg "Setting PATH, CMAKE and Trinity Environment variables"
|
||||
export CMAKE_PREFIX_PATH=${QTDIR}:${_prefix}
|
||||
export CMAKE_INCLUDE_PATH=${QTDIR}/include:${QTDIR}/include/tqt:/usr/include/dbus-1.0:${_prefix}/include:${_prefix}/include/libkrandr
|
||||
export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
|
||||
export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
|
||||
|
||||
# patch
|
||||
# msg "Patching..."
|
||||
# patch -N -d ${srcdir} -p0 < ${srcdir}/pkname.patch
|
||||
|
||||
cd $srcdir
|
||||
msg "Creating out-of-source build directory: ${srcdir}/${_builddir}"
|
||||
mkdir -p ${_builddir}
|
||||
cd ${_builddir}
|
||||
|
||||
msg "Starting cmake..."
|
||||
cmake ${srcdir}/${_svnmod} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_prefix} \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||
-DQT_VERSION=3 \
|
||||
-DWITH_QT3=ON \
|
||||
-DQTDIR=${QTDIR} \
|
||||
-DQT_DOCDIR=${QTDIR}/man \
|
||||
-DQT_LIBRARY_DIRS=${QTDIR}/lib \
|
||||
-DBUILD_ALL=ON
|
||||
|
||||
msg "Building - $pkgname..."
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
msg "Packaging - $pkgname-$pkgver"
|
||||
cd ${srcdir}/${_builddir}
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
Loading…
Reference in new issue