Package Details: mlrpt 1.6.4-2

Git Clone URL: https://aur.archlinux.org/mlrpt.git (read-only, click to copy)
Package Base: mlrpt
Description: Non-interactive command-line version of glrpt for receiving, decoding and saving LRPT images from the Russian Meteor-M type of weather satellites
Upstream URL: http://www.5b4az.org
Licenses: GPLv3
Submitter: CodingMarco
Maintainer: None
Last Packager: CodingMarco
Votes: 2
Popularity: 0.000000
First Submitted: 2018-11-25 09:14 (UTC)
Last Updated: 2020-02-21 22:48 (UTC)

Latest Comments

dviktor commented on 2020-05-24 20:08 (UTC)

I've uploaded git version of mlrpt so you could add the following lines into PKGBUILD:

provides=(mlrpt)
conflicts=(mlrpt-git)

dviktor commented on 2019-10-25 14:46 (UTC) (edited on 2019-10-25 14:47 (UTC) by dviktor)

Hello! Please update PKGBUILD. Beta release is gone away and patches for install are in upstream now so I've fixed it:

--- PKGBUILD.old    2019-09-15 23:00:53.000000000 +0300
+++ PKGBUILD    2019-10-25 17:47:18.514967732 +0300
@@ -2,31 +2,27 @@

 pkgname=mlrpt
 pkgver=1.6.2
-pkgrel=1
-pkgdesc="Non-interactivr command-line version of glrpt for receiving, decoding and saving LRPT images from the Russian Meteor-M type of weather satellites"
+pkgrel=2
+pkgdesc="Non-interactive command-line version of glrpt for receiving, decoding and saving LRPT images from the Russian Meteor-M type of weather satellites"
 arch=('x86_64')
 url="http://www.5b4az.org"
 license=('GPLv3')
-depends=('rtl-sdr')
-makedepends=('make')
-source=("http://www.5b4az.org/pkg/lrpt/$pkgname-$pkgver-beta.tar.bz2"
-               "mlrpt.patch")
-md5sums=('SKIP'
-                    'SKIP')
-
-prepare() {
-    cd "$pkgname-$pkgver-beta"
-    patch -Np0 -i $srcdir/mlrpt.patch
-}
-                    
+depends=('rtl-sdr' 'airspy')
+makedepends=('make' 'automake' 'autoconf')
+source=("http://www.5b4az.org/pkg/lrpt/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('3c3953b0236bcc5bc3d40022d1a8fb9f')
+
 build() {
-   cd "$pkgname-$pkgver-beta"
+   cd "${srcdir}/${pkgname}-${pkgver}"
+
    ./autogen.sh
    ./configure --prefix=/usr
+
    make
 }

 package() {
-   cd "$pkgname-$pkgver-beta"
-   make DESTDIR="$pkgdir/" install
+   cd "${srcdir}/${pkgname}-${pkgver}"
+
+   make DESTDIR="${pkgdir}" install
 }

dviktor commented on 2019-09-15 16:53 (UTC) (edited on 2019-09-15 16:54 (UTC) by dviktor)

Hello! I've managed to fix package() issue. You'll need a patch, it resides here. Also you should modify PKGBUILD a bit, here is a diff:

diff --git a/PKGBUILD b/PKGBUILD
index f0ed739..0f15555 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,23 @@
 # Maintainer: Marco von Rosenberg <codingmarco@gmail.com>

 pkgname=mlrpt
-pkgver=1.6
-pkgrel=2
+pkgver=1.6.2
+pkgrel=1
 pkgdesc="Non-interactivr command-line version of glrpt for receiving, decoding and saving LRPT images from the Russian Meteor-M type of weather satellites"
 arch=('x86_64')
 url="http://www.5b4az.org"
 license=('GPLv3')
 depends=('rtl-sdr')
 makedepends=('make')
-source=("http://www.5b4az.org/pkg/lrpt/$pkgname-$pkgver-beta.tar.bz2")
-md5sums=('SKIP')
+source=("http://www.5b4az.org/pkg/lrpt/$pkgname-$pkgver-beta.tar.bz2"
+        "mlrpt.patch")
+md5sums=('a02cbce6835f7366453e925829a24034'
+         'b03f9b500d284d110d8ed7b39a4f2745')
+
+prepare() {
+    cd "$pkgname-$pkgver-beta"
+    patch -Np0 -i $srcdir/mlrpt.patch
+}

 build() {
        cd "$pkgname-$pkgver-beta"
@@ -19,11 +26,6 @@ build() {
        make
 }

-check() {
-       cd "$pkgname-$pkgver-beta"
-       make -k check
-}
-
 package() {
        cd "$pkgname-$pkgver-beta"
        make DESTDIR="$pkgdir/" install

Note that make check is actually not needed for that package. True pkgver for now is 1.6.2, not 1.6. I also sent this patch to the developer, so I hope in the nearest future he will fix his own version but for now you could employ my solution. Please also see the same proposed solution for glrpt package.