summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHilary Jendrasiak2020-06-01 19:34:50 +0200
committerHilary Jendrasiak2020-06-01 19:34:50 +0200
commit22262ff80a965afe6e00363d8297e17efe80e674 (patch)
tree639d4a68eed0c1ce542f1ce62a06d316db992576
parenta3f52413e078cad8245616d99cd00383f56cccca (diff)
downloadaur-22262ff80a965afe6e00363d8297e17efe80e674.tar.gz
version 1.2.0
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
2 files changed, 11 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e7947ed163c..d08a206670e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = noaa-apt
pkgdesc = NOAA APT image decoder with GUI
- pkgver = 1.1.2
+ pkgver = 1.2.0
pkgrel = 1
url = https://github.com/martinber/noaa-apt
arch = x86_64
@@ -8,8 +8,8 @@ pkgbase = noaa-apt
makedepends = cargo
depends = gsl
depends = gtk3
- source = https://github.com/martinber/noaa-apt/archive/v1.1.2.tar.gz
- sha512sums = 59add018617af7f0ee022c3dd39d14c2f4306de6364fcd2e604b6b064b5296acc41d0a46fc55f37263b64189a687a5b3636fd65721960f70926e45f1615866d4
+ source = https://github.com/martinber/noaa-apt/archive/v1.2.0.tar.gz
+ sha512sums = 00e5ab0b25a85ffe1f6ecc02912b35aa883274f30e8f564daf2d5ca5138dbd4c425a163f75cb1b7bf49dfe39fff5243924a628483870972f80ea56211ec60673
pkgname = noaa-apt
diff --git a/PKGBUILD b/PKGBUILD
index 0f9438913d2..1099c07ad45 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Hilary Jendrasiak <sylogista@sylogista.pl>
pkgname='noaa-apt'
pkgdesc='NOAA APT image decoder with GUI'
-pkgver=1.1.2
+pkgver=1.2.0
pkgrel=1
arch=('x86_64')
url="https://github.com/martinber/${pkgname}"
@@ -9,14 +9,15 @@ license=('GPL3')
depends=('gsl' 'gtk3')
makedepends=('cargo' 'rustup')
source=("${url}/archive/v${pkgver}.tar.gz")
-sha512sums=('59add018617af7f0ee022c3dd39d14c2f4306de6364fcd2e604b6b064b5296acc41d0a46fc55f37263b64189a687a5b3636fd65721960f70926e45f1615866d4')
+sha512sums=('00e5ab0b25a85ffe1f6ecc02912b35aa883274f30e8f564daf2d5ca5138dbd4c425a163f75cb1b7bf49dfe39fff5243924a628483870972f80ea56211ec60673')
build()
{
- export RUSTUP_HOME="$srcdir/.rustup/"
- rustup install nightly
+ export RUSTUP_HOME="$srcdir/.rustup/"
+ rustup install nightly
cd "${srcdir}/${pkgname}-${pkgver}"
+ export NOAA_APT_RES_DIR="/usr/share/noaa-apt"
cargo +nightly build --release
}
@@ -25,5 +26,7 @@ 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"
+
+ cd res/
+ sudo find ./ -type f -exec install -Dm644 "{}" "/usr/share/noaa-apt/{}" \;
}
-