summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorfrealgagu2018-03-20 10:32:50 -0500
committerfrealgagu2018-03-20 10:32:50 -0500
commit6bc653115901a00b921d0be5d76ed9702f02151d (patch)
tree047d7c675ae1be43a097a97b48cc85f94ba1dec4 /PKGBUILD
parent5084e7e0d1c38193e1de85f90b3ad231ee6e8e28 (diff)
downloadaur-6bc653115901a00b921d0be5d76ed9702f02151d.tar.gz
Adding qt5 dependencies
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 15 insertions, 17 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 70c3a6d5ade..98b9ffa9ee8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,28 @@
# Maintainer: Fredy GarcĂ­a <frealgagu at gmail dot com>
+
pkgname=welle.io
pkgver=1.0
-pkgrel=1
+pkgrel=2
pkgdesc="Open source DAB and DAB+ software defined radio (SDR) with support for rtl-sdr (RTL2832U) and airspy"
-_pkgname=welle-io
-arch=('any')
-url="https://www.welle.io/"
-license=('GPL2')
-depends=('qt5-base' 'qt5-charts' 'fftw' 'faad2' 'rtl-sdr' 'libusb')
-makedepends=('gcc' 'cmake')
-optdepends=('airspy')
-provides=('welle.io')
-conflicts=('welle.io')
-source=('https://github.com/AlbrechtL/welle.io/archive/V1.0.tar.gz')
-sha256sums=('669ae5d471f723c32622cbf6ee37b66c3aefd8e02d6334b55d1fb60b3c22a883')
+arch=("any")
+url="https://www.${pkgname}"
+license=("GPL2")
+depends=("faad2" "fftw" "libusb" "qt5-base" "qt5-charts" "qt5-declarative" "qt5-multimedia" "qt5-quickcontrols2" "rtl-sdr")
+makedepends=("gcc" "cmake")
+optdepends=("airspy")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AlbrechtL/${pkgname}/archive/V${pkgver}.tar.gz")
+sha256sums=("669ae5d471f723c32622cbf6ee37b66c3aefd8e02d6334b55d1fb60b3c22a883")
build() {
- mkdir -p ${pkgname}-${pkgver}/build
- cd ${pkgname}-${pkgver}/build
+ mkdir -p "${pkgname}-${pkgver}/build"
+ cd "${pkgname}-${pkgver}/build"
cmake .. -DRTLSDR=1
make
}
package() {
- install -D -m 0644 ${srcdir}/${pkgname}-${pkgver}/${_pkgname}.desktop ${pkgdir}/usr/share/applications/${_pkgname}.desktop
- install -D -m 0644 ${srcdir}/${pkgname}-${pkgver}/icon.png ${pkgdir}/usr/share/pixmaps/${_pkgname}.png
- cd ${pkgname}-${pkgver}/build
+ install -D -m 0644 "${srcdir}/${pkgname}-${pkgver}/${pkgname/./-}.desktop" "${pkgdir}/usr/share/applications/${pkgname/./-}.desktop"
+ install -D -m 0644 "${srcdir}/${pkgname}-${pkgver}/icon.png" "${pkgdir}/usr/share/pixmaps/${pkgname/./-}.png"
+ cd "${pkgname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
}