aboutsummaryrefslogtreecommitdiffstats
path: root/metar
diff options
context:
space:
mode:
Diffstat (limited to 'metar')
-rw-r--r--metar/PKGBUILD26
l---------metar/upload1
2 files changed, 27 insertions, 0 deletions
diff --git a/metar/PKGBUILD b/metar/PKGBUILD
new file mode 100644
index 0000000..fe82857
--- /dev/null
+++ b/metar/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+
+pkgname=metar
+pkgver=1
+pkgrel=1
+pkgdesc="Trivial, yet fully fledged, weather report"
+arch=(any)
+url="https://github.com/maandree/metar"
+license=('GPL3')
+depends=(sh sed curl coreutils python3)
+makedepends=()
+source=($url/archive/$pkgver.tar.gz)
+sha256sums=(6cbc56fcfb1152d4dff08ca8960898f68e408ab2b250fa60b63e94c2315482c8)
+
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr
+}
+
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make install PREFIX=/usr DESTDIR="$pkgdir"
+}
+
diff --git a/metar/upload b/metar/upload
new file mode 120000
index 0000000..1e7a8be
--- /dev/null
+++ b/metar/upload
@@ -0,0 +1 @@
+../upload \ No newline at end of file