summaryrefslogtreecommitdiff
path: root/pcr/mosquitto/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/mosquitto/PKGBUILD')
-rw-r--r--pcr/mosquitto/PKGBUILD46
1 files changed, 0 insertions, 46 deletions
diff --git a/pcr/mosquitto/PKGBUILD b/pcr/mosquitto/PKGBUILD
deleted file mode 100644
index 046767dea..000000000
--- a/pcr/mosquitto/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# This is the PKGBUILD for mosquitto, an MQTT broker and example clients
-
-# Maintainer (Arch): Tomáš Mládek <tmladek{at}inventati{dt}org>
-# Contributor (Arch): Dan Anderson <dan-anderson at cox dptnet>
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-
-pkgname=mosquitto
-pkgver=1.4.8
-pkgrel=1
-pkgdesc="An Open Source MQTT v3.1 Broker"
-arch=('i686' 'x86_64' 'armv7h')
-url="http://mosquitto.org/"
-depends=('openssl' 'c-ares')
-makedepends=('python' 'docbook-xsl' 'c-ares')
-conflicts=('mosquitto-hg')
-provides=('mosquitto')
-license=('BSD')
-source=(http://mosquitto.org/files/source/$pkgname-$pkgver.tar.gz{,.asc} "$pkgname.service" "$pkgname.install" "usr_move.patch")
-install=$pkgname.install
-sha256sums=('d96eb5610e57cc3e273f4527d3f54358ab7711459941a9e64bc4d0a85c2acfda'
- 'SKIP'
- 'b09c9852b5b438bad8dd54b3ac665bb0d05d1a9e4daf8c920956457c83622b64'
- '09b8a17fc59f36f40ead4644fffc95458a9255c32d4848f39ceca05925dcc95b'
- 'c436bcc5a61d923ab36d5b3f24e5f628bf18ef14c2f351633d58ca983b5f655c')
-validpgpkeys=('A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- patch -p1 < ../usr_move.patch
-
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make prefix=/usr DESTDIR="$pkgdir/" install
-
- # systemd service file
- install -Dm644 "$srcdir/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
- echo 'pid_file /run/mosquitto.pid' >> "$pkgdir/etc/mosquitto/mosquitto.conf.example"
-
- # license files
- install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}