blob: d674b61d88cd1418f5180a5a52fb67990b2a949e (
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: Steven! Ragnarök <steven@nuclearsandwich.com>
# Maintainer: Scott K Logan <logans@cottsay.net>
pkgname=openelp
pkgver=0.9.3
pkgrel=1
pkgdesc="Open source EchoLink Proxy"
arch=('x86_64')
url="https://github.com/cottsay/openelp"
license=('BSD')
depends=(pcre2)
makedepends=(cmake)
backup=(etc/ELProxy.conf)
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('e7db49d22fc86449271e3c58ac0cbaf971bf4936d8c27dd268ecd5057643e947')
build() {
cd "$pkgname-$pkgver"
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX="/usr" \
-DSYSCONF_INSTALL_DIR:PATH="/etc"
make
}
check() {
cd "$pkgname-$pkgver/build"
make -k test
}
package() {
cd "$pkgname-$pkgver/build"
make DESTDIR="$pkgdir" install
install -Dt "$pkgdir/usr/share/licenses/$pkgname/" "$srcdir/$pkgname-$pkgver/LICENSE"
}
|