blob: 0ae18ac42943e18ef64137041aca15affe5c018c (
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
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Nils Czernia (DL1CAF) <nils@czserver.de>
# Contributer: Carsten Feuls (DL1CAF) "Der Techniker" <dl1caf@vfdb.org>
# Contributer: Amateurfunk Station der Hochschule Niederrhein (DF0FN) <df0fn@hs-niederrhein.de>
pkgname=("qtel-git")
_pkgname=("svxlink")
pkgver=17.12.1.261.gdf80225c
pkgrel=2
arch=("i686" "x86_64" "armv5h" "armv6h" "armv7h")
url="http://www.svxlink.org/"
license=("GPL")
source=("${_pkgname}::git+https://github.com/sm0svx/svxlink.git")
conflicts=("svxlink" "qtel")
sha256sums=("SKIP")
depends=("alsa-utils" "alsa-lib" "libsigc++" "gsm" "libgcrypt" "popt" "tcl" "speex" "opus" "qt5-tools")
makedepends=("cmake")
pkgdesc="Graphical Userinteface for Echolink written in QT"
pkgver() {
cd "${_pkgname}"
git describe --always | sed -e "s|-|.|g"
}
build(){
cd "${srcdir}/${_pkgname}/src"
mkdir -p build
cd build
cmake -DSBIN_INSTALL_DIR=/usr/bin -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DLOCAL_STATE_DIR=/var ..
make
make doc
}
package(){
make -C ${srcdir}/${_pkgname}/src/build DESTDIR="${pkgdir}" install
rm ${pkgdir}/usr/bin/{remotetrx,siglevdetcal,svxlink}
rm -rf ${pkgdir}/usr/include
rm -f ${pkgdir}/usr/lib/libasynccpp.so*
rm -f ${pkgdir}/usr/lib64/libasynccpp.so*
rm -rf ${pkgdir}/usr/lib/svxlink
rm -rf ${pkgdir}/usr/lib64/svxlink
rm -rf ${pkgdir}/usr/share/{doc,man,svxlink}
rm -r ${pkgdir}/var
rm -r ${pkgdir}/etc
}
|