summaryrefslogtreecommitdiffstats
path: root/arch/PKGBUILD.template
diff options
context:
space:
mode:
Diffstat (limited to 'arch/PKGBUILD.template')
-rw-r--r--arch/PKGBUILD.template32
1 files changed, 15 insertions, 17 deletions
diff --git a/arch/PKGBUILD.template b/arch/PKGBUILD.template
index 0b84ae9d9..8b1d87d1c 100644
--- a/arch/PKGBUILD.template
+++ b/arch/PKGBUILD.template
@@ -4,14 +4,14 @@
_mod=tdepowersave
_cat=applications/
_kdemod="${_mod/tde/kde}"
-pkgname="tde-$_mod"
-pkgver=14.0.5
+pkgname="tde-${_mod}"
+pkgver=14.0.10
pkgrel=1
pkgdesc="Trinity Desktop Enviroment $_cat$_mod"
arch=('i686' 'x86_64')
-url="http://scm.trinitydesktop.org/scm/git/$_mod"
+url="https://scm.trinitydesktop.org/scm/git/${_mod}"
license=('GPL')
-provides=("$_mod")
+provides=("${_mod}")
groups=('tde-complete')
depends=(
'tde-tdelibs'
@@ -22,38 +22,36 @@ makedepends=(
'pkgconfig'
)
optdepends=()
-confilicts=("trinity-$_kdemod" "kdemod3-$_kdemod")
-replaces=("trinity-$_mod")
+confilicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
+replaces=("trinity-${_mod}")
options=('staticlibs' 'libtool' '!strip')
install=
-source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R$pkgver/$_cat$_mod-R$pkgver.tar.bz2")
+source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
+md5sums=()
-build() {
- cd "${srcdir}/${_cat}${_mod}"
-
- msg "Setting PATH, CMAKE and Trinity Environment variables"
- # Source the QT and TDE profile
- [ "$QTDIR" = "" ] && . /etc/profile.d/tqt3.sh
- [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
+[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
+[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
+build() {
msg "Creating out-of-source build directory: ${srcdir}/build"
mkdir -p "$srcdir/build"
cd "$srcdir/build"
msg "Starting cmake..."
-
- cmake ${srcdir}/${_cat}${_mod} \
+ cmake ${srcdir}/${_mod}-trinity-${pkgver} \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
-DBUILD_ALL=ON \
-DWITH_GCC_VISIBILITY=ON
+ msg "Building - ${pkgname}..."
make $NUMJOBS
}
package() {
- msg "Packaging - $pkgname-$pkgver"
+ msg "Packaging - ${pkgname}-${pkgver}"
cd "$srcdir/build"
make -j1 DESTDIR="$pkgdir" install
}