summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Webster2020-02-26 22:01:53 +0000
committerDonald Webster2020-02-26 22:01:53 +0000
commit076058c54edacadf953404ce0489f591f4e5fbbe (patch)
treec88a18818ea6b28d91433d287232af860cb8d9f2
parent756d89fea45428abb78a820f4d60d4c5f673e6eb (diff)
downloadaur-076058c54edacadf953404ce0489f591f4e5fbbe.tar.gz
Add dump978 user.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD15
-rw-r--r--dump978.sysusers1
3 files changed, 13 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2e7f0d7e987..160fd0548f1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -4,10 +4,10 @@ pkgbase = dump978-fa-git
pkgrel = 1
epoch = 1
url = https://github.com/flightaware/dump978
- arch = i686
arch = x86_64
arch = armv6h
arch = armv7h
+ arch = aarch64
license = BSD
makedepends = git
makedepends = boost
@@ -16,8 +16,10 @@ pkgbase = dump978-fa-git
depends = soapyrtlsdr
depends = boost-libs
source = dump978::git+git://github.com/flightaware/dump978
+ source = dump978.sysusers
source = dump978.service
sha256sums = SKIP
+ sha256sums = 722bd9ee0bb6dad3f15e0e8c0d92c6fe405e6670ee150f6d799f124417ea30d7
sha256sums = 186575be1fb5c4203d85cd991cee764170570e4c804ed8376a95dc378b6af018
pkgname = dump978-fa-git
diff --git a/PKGBUILD b/PKGBUILD
index 2d664833290..7e4f248a215 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
+# Maintainer: Donald Webster <fryfrog@gmail.com>
# Contributor : anish [ at ] gatech [dot] edu
-# Maintainer : anish [ at ] gatech [dot] edu
pkgname=dump978-fa-git
_gitname=dump978
@@ -7,15 +7,17 @@ pkgver=3.8.0.r0.g5421a45
pkgrel=1
epoch=1
pkgdesc="FlightAware/Mutability fork of dump978, a simple Mode S decoder for RTLSDR devices."
-arch=('i686' 'x86_64' 'armv6h' 'armv7h')
+arch=('x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/flightaware/dump978"
license=('BSD')
depends=('rtl-sdr' 'bladerf>=2.0.2' 'soapyrtlsdr' 'boost-libs')
makedepends=('git' 'boost')
source=('dump978::git+git://github.com/flightaware/dump978'
+ 'dump978.sysusers'
'dump978.service')
sha256sums=('SKIP'
+ '722bd9ee0bb6dad3f15e0e8c0d92c6fe405e6670ee150f6d799f124417ea30d7'
'186575be1fb5c4203d85cd991cee764170570e4c804ed8376a95dc378b6af018')
pkgver() {
cd "${srcdir}/${_gitname}"
@@ -28,8 +30,9 @@ build() {
}
package() {
- install -D -m755 "${srcdir}/${_gitname}/dump978-fa" "${pkgdir}/usr/bin/dump978-fa"
- install -D -m755 "${srcdir}/${_gitname}/skyaware978" "${pkgdir}/usr/bin/skyaware978"
- install -D -m755 "${srcdir}/${_gitname}/faup978" "${pkgdir}/usr/lib/piaware/helpers/faup978"
- install -D -m644 dump978.service "${pkgdir}/usr/lib/systemd/system/dump978.service"
+ install -D -m 755 "${srcdir}/${_gitname}/dump978-fa" "${pkgdir}/usr/bin/dump978-fa"
+ install -D -m 755 "${srcdir}/${_gitname}/skyaware978" "${pkgdir}/usr/bin/skyaware978"
+ install -D -m 755 "${srcdir}/${_gitname}/faup978" "${pkgdir}/usr/lib/piaware/helpers/faup978"
+ install -D -m 644 dump978.sysusers "${pkgdir}/usr/lib/sysusers.d/dump978.conf"
+ install -D -m 644 dump978.service "${pkgdir}/usr/lib/systemd/system/dump978.service"
}
diff --git a/dump978.sysusers b/dump978.sysusers
new file mode 100644
index 00000000000..a1271f0c35c
--- /dev/null
+++ b/dump978.sysusers
@@ -0,0 +1 @@
+u dump978 - "dump978 daemon" /var/lib/dump978