summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiretza2017-12-11 16:59:08 +0100
committerXiretza2017-12-11 16:59:08 +0100
commitc87f3a1c9bf6510be9107140f38442087df08d46 (patch)
treece0d1dd7a06028932cf97af7436cd2b573b16372
downloadaur-c87f3a1c9bf6510be9107140f38442087df08d46.tar.gz
initial commit
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD42
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dcc5da3f3fe
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = openelp-git
+ pkgdesc = An open source EchoLink proxy for Linux and Windows
+ pkgver = r54.0d1a16e
+ pkgrel = 1
+ url = https://github.com/cottsay/openelp
+ arch = i686
+ arch = x86_64
+ arch = armv7h
+ license = BSD
+ makedepends = git
+ makedepends = cmake
+ makedepends = pcre2
+ makedepends = doxygen
+ depends = pcre2
+ provides = openelp
+ conflicts = openelp
+ backup = etc/ELProxy.conf
+ source = openelp::git+https://github.com/cottsay/openelp
+ md5sums = SKIP
+
+pkgname = openelp-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5ad63f34db7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: xiretza <xiretza+aur@gmail.com>
+_pkgname=openelp
+pkgname=${_pkgname}-git
+pkgver=r54.0d1a16e
+pkgrel=1
+pkgdesc="An open source EchoLink proxy for Linux and Windows"
+arch=(i686 x86_64 armv7h)
+url="https://github.com/cottsay/openelp"
+license=('BSD')
+depends=(pcre2)
+makedepends=(git cmake pcre2 doxygen)
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+replaces=()
+backup=(etc/ELProxy.conf)
+source=("${_pkgname}::git+${url}")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${_pkgname}"
+
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/${_pkgname}"
+ mkdir -p build
+ cd build
+ cmake -D CMAKE_INSTALL_PREFIX=/usr ..
+ make
+}
+
+check() {
+ cd "$srcdir/${_pkgname}/build"
+ make -k check
+}
+
+package() {
+ cd "$srcdir/${_pkgname}/build"
+ make DESTDIR="$pkgdir/" install
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname/" ../LICENSE
+}