summaryrefslogtreecommitdiffstats
path: root/arch/tde-extra/tde-twin-style-crystal/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tde-extra/tde-twin-style-crystal/PKGBUILD')
-rw-r--r--arch/tde-extra/tde-twin-style-crystal/PKGBUILD28
1 files changed, 13 insertions, 15 deletions
diff --git a/arch/tde-extra/tde-twin-style-crystal/PKGBUILD b/arch/tde-extra/tde-twin-style-crystal/PKGBUILD
index 4deb3c208..b23465403 100644
--- a/arch/tde-extra/tde-twin-style-crystal/PKGBUILD
+++ b/arch/tde-extra/tde-twin-style-crystal/PKGBUILD
@@ -1,28 +1,29 @@
# Contributor: e1z0 <justinas at eofnet dot lt>
pkgname=tde-twin-style-crystal
-pkgver=14.0.5
+pkgver=14.0.10
pkgrel=1
pkgdesc="TDE TWin Style Crystal"
arch=('i686' 'x86_64')
-url='http://scm.trinitydesktop.org/scm/git/applications/twin-style-crystal'
+url='https://scm.trinitydesktop.org/scm/git/applications/twin-style-crystal'
license=('GPL')
groups=('tde-extra')
depends=('tde-tdebase')
-makedepends=('pkgconfig' 'automake')
+makedepends=('pkgconfig' 'cmake')
#provides=('twin-style-crystal')
#conflicts=('twin-style-crystal')
#replaces=('twin-style-crystal')
options=('staticlibs' 'libtool' '!strip')
-source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/twin-style-crystal-R${pkgver}.tar.bz2")
-md5sums=('51983ea2543b9ed886b4357bc6cfec60')
+source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/applications/twin-style-crystal-trinity-${pkgver}.tar.xz")
+md5sums=('b87b5ad84ba492e6e56c583c05ba4d40')
# install=''
+[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
+[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
+
build() {
- # old ruby1.8 path
- export PATH=/opt/ruby1.8/bin:$PATH
## Generate config files and update with autoreconf
- cd ${srcdir}/applications/${pkgname#*-}
+ cd ${srcdir}/${pkgname#*-}-trinity-${pkgver}
msg "Copying system libtool files...."
cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in
@@ -33,8 +34,6 @@ build() {
## configure
msg "Configuring - ${pkgname#*-}..."
- CFLAGS="${CFLAGS} -fpermissive" \
- CXXFLAGS="${CXXFLAGS} -fpermissive" \
./configure \
--prefix=${TDEDIR} \
--with-qt-dir=${QTDIR} \
@@ -45,12 +44,11 @@ build() {
--enable-closure
msg "Building - ${pkgname#*-}..."
-make $NUMJOBS
+ make $NUMJOBS
}
package() {
-msg "Packaging - $pkgname-$pkgver"
- cd ${srcdir}/applications/${pkgname#*-} # use for libtool
-
-make -j1 DESTDIR="${pkgdir}" install
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/${pkgname#*-}-trinity-${pkgver}
+ make -j1 DESTDIR="${pkgdir}" install
}