summaryrefslogtreecommitdiff
path: root/pcr/mosquitto/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/mosquitto/PKGBUILD')
-rw-r--r--pcr/mosquitto/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/pcr/mosquitto/PKGBUILD b/pcr/mosquitto/PKGBUILD
index 652e75691..2f765ad13 100644
--- a/pcr/mosquitto/PKGBUILD
+++ b/pcr/mosquitto/PKGBUILD
@@ -4,22 +4,27 @@
pkgname=mosquitto
pkgver=1.1.3
-pkgrel=2
+pkgrel=3
pkgdesc="An Open Source MQTT v3.1 Broker"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'mips64el')
url="http://mosquitto.org/"
makedepends=('python')
optdepends=('python: python support')
license=('BSD')
-source=(http://mosquitto.org/files/source/$pkgname-$pkgver.tar.gz{,.asc} "$pkgname.service" )
+source=(http://mosquitto.org/files/source/$pkgname-$pkgver.tar.gz{,.asc} "$pkgname.service"
+ "binmerge.patch")
md5sums=('fd0cae17221d778b0a002c31e6c3de9e'
'SKIP'
- 'b7cdd7a65d9a7ac5a8c2456f4b1f2d8f')
+ '58af79ed48be928f91e5435cda82bb8b'
+ '27e24b672d63b797f0e026ab85c64c4b')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver/src"
+ patch -N -i ${srcdir}/binmerge.patch
+}
build() {
cd "$srcdir/$pkgname-$pkgver"
- #Remove hardcoded prefix
- find -name Makefile -exec sed '/prefix=/d' -i {} \;
make prefix=/usr
}