summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMees Luten2020-09-24 00:09:01 +0200
committerMees Luten2020-09-24 00:09:01 +0200
commite3b3ec64b8ed7fba7c270f75da9adc1ff39952cd (patch)
treed26ffd1d2f17f4e295bb9ee3cbbe17f899ea7b8a
downloadaur-e3b3ec64b8ed7fba7c270f75da9adc1ff39952cd.tar.gz
Initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD43
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7285e1fe178
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = x-band-decoders-git
+ pkgdesc = A project aimed at decoding various X-Band satellites
+ pkgver = r23.135216d
+ pkgrel = 1
+ url = https://github.com/MALuten/L-Band-Decoders
+ arch = x86_64
+ license = GPLv3
+ makedepends = libfec-git
+ makedepends = libcorrect-git
+ makedepends = git
+ source = x-band-decoders-git::git+https://github.com/MALuten/X-Band-Decoders.git
+ sha256sums = SKIP
+
+pkgname = x-band-decoders-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e0a3bc69d91
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Mees Luten <mees [dot] luten [at] gmail [dot] com>
+pkgname=x-band-decoders-git
+pkgver=r23.135216d
+pkgrel=1
+pkgdesc="A project aimed at decoding various X-Band satellites"
+arch=('x86_64')
+url="https://github.com/MALuten/L-Band-Decoders"
+license=('GPLv3')
+depends=()
+makedepends=('libfec-git' 'libcorrect-git' 'git')
+provides=()
+conflicts=()
+replaces=()
+source=("$pkgname"::'git+https://github.com/MALuten/X-Band-Decoders.git')
+sha256sums=("SKIP")
+
+pkgver() {
+ cd "$pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ #rm -f -r $pkgname
+ #mv $pkgname-master $pkgname
+ mkdir -p "$pkgname"/build
+}
+
+build() {
+ cd "$pkgname"/build
+ cmake ../
+ make
+}
+
+package() {
+ cd "$pkgname"/build
+ install -Dm755 Aqua\ Decoder/AQUADecoder "${pkgdir}"/usr/bin/AQUADecoder
+ install -Dm755 Aqua\ MODIS\ Extractor/AQUA-MODIS-Extractor "${pkgdir}"/usr/bin/AQUA-MODIS-Extractor
+ install -Dm755 CADU\ Synchroderand/CADU-Synchroderand "${pkgdir}"/usr/bin/CADU-Synchroderand
+ install -Dm755 ELEKTRO-L\ Decoder/ELEKTRO-L-Decoder "${pkgdir}"/usr/bin/ELEKTRO-L-Decoder
+ install -Dm755 FengYun\ 3D\ Decoder/FY3DDecoder "${pkgdir}"/usr/bin/FY3DDecoder
+ install -Dm755 FengYun\ MPT\ Decoder/FengYun-MPT-Decoder "${pkgdir}"/usr/bin/FengYun-MPT-Decoder
+}
+