summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylogista2018-12-15 21:08:11 +0100
committerSylogista2018-12-15 21:08:11 +0100
commit20301261bb612aa4198f5eb87cb11525c04a82cf (patch)
tree2c9b71aa2daede08e16aa246d96c233589361159
downloadaur-20301261bb612aa4198f5eb87cb11525c04a82cf.tar.gz
initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD24
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f1093f49b56
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = noaa-apt
+ pkgdesc = NOAA APT image decoder with GUI
+ pkgver = 0.9.6
+ pkgrel = 1
+ url = https://github.com/martinber/noaa-apt
+ arch = x86_64
+ license = GPL3
+ makedepends = cargo
+ depends = gsl
+ depends = gtk3
+ source = https://github.com/martinber/noaa-apt/archive/v0.9.6.tar.gz
+ sha512sums = 2b1a21dda40595dfc7ea8666c2f89b8d435dfc2d38efd5c1627b92b05144cbab0545b648696dd1490e724926d2384d725c87324b041882f58d0231c36644ba72
+
+pkgname = noaa-apt
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7bdd53ee0b3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Hilary Jendrasiak <sylogista@sylogista.pl>
+pkgname='noaa-apt'
+pkgdesc='NOAA APT image decoder with GUI'
+pkgver=0.9.6
+pkgrel=1
+arch=('x86_64')
+url="https://github.com/martinber/${pkgname}"
+license=('GPL3')
+depends=('gsl' 'gtk3')
+makedepends=('cargo')
+source=("${url}/archive/v${pkgver}.tar.gz")
+sha512sums=('2b1a21dda40595dfc7ea8666c2f89b8d435dfc2d38efd5c1627b92b05144cbab0545b648696dd1490e724926d2384d725c87324b041882f58d0231c36644ba72')
+
+build()
+{
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ cargo build --release
+}
+
+package()
+{
+ cd "${srcdir}/${pkgname}-${pkgver}/"
+ install -Dm755 "target/release/${pkgname}" "$pkgdir/usr/bin/${pkgname}"
+}