summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSylogista2018-12-15 21:08:11 +0100
committerSylogista2018-12-15 21:08:11 +0100
commit20301261bb612aa4198f5eb87cb11525c04a82cf (patch)
tree2c9b71aa2daede08e16aa246d96c233589361159 /PKGBUILD
downloadaur-20301261bb612aa4198f5eb87cb11525c04a82cf.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
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}"
+}