summaryrefslogtreecommitdiffstats
path: root/arch/tde-base/tde-tdegraphics/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tde-base/tde-tdegraphics/PKGBUILD')
-rw-r--r--arch/tde-base/tde-tdegraphics/PKGBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/tde-base/tde-tdegraphics/PKGBUILD b/arch/tde-base/tde-tdegraphics/PKGBUILD
index 394218e39..4ab9cdbfc 100644
--- a/arch/tde-base/tde-tdegraphics/PKGBUILD
+++ b/arch/tde-base/tde-tdegraphics/PKGBUILD
@@ -7,7 +7,7 @@ _kdemod="${_mod/tde/kde}"
pkgname="tde-${_mod}"
pkgver=14.0.11
-pkgrel=1
+pkgrel=2
pkgdesc="Trinity Desktop Graphics Components"
arch=('i686' 'x86_64')
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
@@ -19,12 +19,20 @@ provides=("${_mod}")
conflicts=("trinity-${_mod}" "trinity-${_kdemod}")
replaces=("trinity-${_mod}")
options=('staticlibs' 'libtool' '!strip')
-source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
-md5sums=('04d2c95040a3a5664c4b0dca8556d10d')
+source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz"
+ "bp000-544868bcc9.diff")
+md5sums=('04d2c95040a3a5664c4b0dca8556d10d'
+ "17ef39c263fb05827242762813b8c4b2")
# install=''
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
+prepare() {
+ msg "Apply backported patches"
+ cd ${srcdir}/${pkgname#*-}-trinity-${pkgver} || exit 1
+ patch -p1 < ${srcdir}/bp000-544868bcc9.diff
+}
+
build() {
msg "Creating out-of-source build directory: ${srcdir}/build"
mkdir -p ${srcdir}/build