summaryrefslogtreecommitdiff
path: root/libre/kdenetwork-kopete-libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre/kdenetwork-kopete-libre')
-rwxr-xr-xlibre/kdenetwork-kopete-libre/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/libre/kdenetwork-kopete-libre/PKGBUILD b/libre/kdenetwork-kopete-libre/PKGBUILD
index 2b7a87dfa..facd65fad 100755
--- a/libre/kdenetwork-kopete-libre/PKGBUILD
+++ b/libre/kdenetwork-kopete-libre/PKGBUILD
@@ -21,8 +21,9 @@ sha1sums=('2a0b31a292f4805224fdb0ba26a9426e1126f4f6'
'808fa0400dc419d446d4ff8a9b536b5fddcb4727')
build() {
- cd "${srcdir}"
- patch -p1 -i ./use-libotr3.patch
+ cd ${pkgbase}-${pkgver}
+ patch -p1 -i "${srcdir}"/use-libotr3.patch
+ cd ../
# Based on http://bzr.trisquel.info/package-helpers/trunk/annotate/head%3A/helpers/natty/make-kdenetwork, revision 34.
sed -i 's/Skype protocol" ON/Skype protocol" OFF/g' "${pkgbase}-${pkgver}/kopete/protocols/CMakeLists.txt"
rm -rf "${pkgbase}-${pkgver}/kopete/protocols/skype"