summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD19
2 files changed, 32 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b076041d88a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = air-bin
+ pkgdesc = Cloud Live reload for Go apps
+ pkgver = 1.12.0
+ pkgrel = 1
+ url = https://github.com/cosmtrek/air
+ arch = x86_64
+ license = GPL3
+ makedepends = go
+ source = air-bin-1.12.0.tar.gz::https://github.com/cosmtrek/air/archive/v1.12.0.tar.gz
+ md5sums = 5752fc5ffadaae4c5b56e10847d933fd
+
+pkgname = air-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f1485d8ad7d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
+
+pkgname=air-bin
+pkgver=1.12.0
+pkgrel=1
+pkgdesc="Cloud Live reload for Go apps"
+arch=('x86_64')
+url='https://github.com/cosmtrek/air'
+license=('GPL3')
+makedepends=('go')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/cosmtrek/air/archive/v${pkgver}.tar.gz")
+md5sums=('5752fc5ffadaae4c5b56e10847d933fd')
+
+package() {
+ cd "${srcdir}/air-${pkgver}"
+ install -Dm755 "bin/linux/air" "${pkgdir}/usr/bin/air"
+ install -Dm644 "air_example.conf" "$pkgdir/etc/conf.d/air.conf"
+ install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/air/LICENSE"
+} \ No newline at end of file