summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 252d3b3d844..952f3605909 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,23 @@
# Maintainer: Hilary Jendrasiak <sylogista@sylogista.pl>
pkgname='noaa-apt'
pkgdesc='NOAA APT image decoder with GUI'
-pkgver=1.1.0
+pkgver=1.1.1
pkgrel=1
arch=('x86_64')
url="https://github.com/martinber/${pkgname}"
license=('GPL3')
depends=('gsl' 'gtk3')
-makedepends=('cargo')
+makedepends=('cargo' 'rustup')
source=("${url}/archive/v${pkgver}.tar.gz")
-sha512sums=('64915709470e3b8dd74b2927056d4a03e302f34374dfb279b4e4d561fed774ba3020d32289730835d5ce842c7b6ab9873f682754bc29a027dd5e6b7ef5fb16c3')
+sha512sums=('ec01c9cc5dfc19cfa1e15a7ce6f81c21aba2cccc79e34a25c2a58e0a3748f2ffc8bad4c094d7e14079c3aeab270e0419acbfbba4f1dcfe3c9f16fc9227f2151e')
build()
{
+ export RUSTUP_HOME="$srcdir/.rustup/"
+ rustup install nightly
+
cd "${srcdir}/${pkgname}-${pkgver}"
- cargo build --release
+ cargo +nightly build --release
}
package()
@@ -22,6 +25,5 @@ package()
cd "${srcdir}/${pkgname}-${pkgver}/"
install -Dm755 "target/release/${pkgname}" "$pkgdir/usr/bin/${pkgname}"
install -Dm644 "debian/ar.com.mbernardi.noaa-apt.desktop" "$pkgdir/usr/bin/usr/share/applications"
- #install -Dm644 "debian/noaa-apt.png" "$pkgdir/usr/share/icons/hicolor/48x48/apps"
- #install -Dm644 "debian/noaa-apt.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps"
}
+