summaryrefslogtreecommitdiffstats
path: root/arch/tde-core/tde-tdelibs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tde-core/tde-tdelibs/PKGBUILD')
-rw-r--r--arch/tde-core/tde-tdelibs/PKGBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/tde-core/tde-tdelibs/PKGBUILD b/arch/tde-core/tde-tdelibs/PKGBUILD
index f19a52d80..093d0fa4f 100644
--- a/arch/tde-core/tde-tdelibs/PKGBUILD
+++ b/arch/tde-core/tde-tdelibs/PKGBUILD
@@ -9,7 +9,7 @@ _kdemod="${_mod/tde/kde}"
pkgname="tde-${_mod}"
pkgver=14.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="Trinity Desktop core libraries and applications"
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'powerpc64le')
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
@@ -46,13 +46,21 @@ provides=("${_mod}")
conflicts=("trinity-${_kdemod}" "trinity-${_mod}" "kdemod3-${_kdemod}" "${_kdemod}3")
replaces=("trinity-${_kdemod}" "trinity-${_mod}")
options=('staticlibs' 'libtool' '!makeflags' '!strip')
-source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
-md5sums=('24990c41b5aaf32844adb3eab1a26818')
+source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz"
+ 'bp000-41336d84c9.diff')
+md5sums=('24990c41b5aaf32844adb3eab1a26818'
+ '8344b0545a204e879187b42c983b32e4')
install="trinity-${_mod}.install"
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
+prepare() {
+ msg "Apply backported patches"
+ cd ${srcdir}/${pkgname#*-}-trinity-${pkgver} || exit 1
+ patch -p1 < ${srcdir}/bp000-41336d84c9.diff
+}
+
build() {
msg "Creating out-of-source build directory: ${srcdir}/build"
mkdir -p ${srcdir}/build