blob: 1d17ace541221c6cfe0af96246a99f0e7ad53b6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: languiar <languitar at semipol dot de>
# Contributor: Brian Bidulock <bidulock@openss7.org>
pkgname=spread-daemon
pkgver=5.0.1
pkgrel=1
pkgdesc="An open source high performance messaging service - Daemon and C API"
url="http://www.spread.org"
license=('custom')
depends=(glibc)
makedepends=()
options=(!makeflags)
arch=('x86_64' 'i686' 'armv6h')
install=$pkgname.install
source=("http://www.spread.org/download/spread-src-$pkgver.tar.gz?FILE=spread-src-$pkgver.tar.gz&name=aur&company=archlinux&email=foo@example.org" $pkgname.install spread.service)
md5sums=('ca2e9da39bdaddb93178d33a52a6b00b'
'05e01e6f5e775be72608854e6f0d7695'
'93a08034a2a55644b8c57cd821e3a353')
build() {
cd $srcdir/spread-src-$pkgver
export CFLAGS="$CFLAGS -fPIC"
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc \
--sbindir=/usr/bin
make || return 1
}
package() {
cd $srcdir/spread-src-$pkgver
make DESTDIR=$pkgdir install
install -D license.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE || return 1
install -Dm644 "${srcdir}/spread.service" "${pkgdir}/usr/lib/systemd/system/spread.service"
}
|