summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD14
2 files changed, 14 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9c7f19baec8..63e11366f26 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = air-bin
pkgdesc = Cloud Live reload for Go apps
- pkgver = 1.12.0
- pkgrel = 2
+ pkgver = 1.12.1
+ pkgrel = 1
url = https://github.com/cosmtrek/air
arch = x86_64
- license = GPL-3.0
- source = air-bin-1.12.0.tar.gz::https://github.com/cosmtrek/air/archive/v1.12.0.tar.gz
- md5sums = 5752fc5ffadaae4c5b56e10847d933fd
+ license = GPL3
+ provides = air
+ source = air-bin-1.12.1.tar.gz::https://github.com/cosmtrek/air/archive/v1.12.1.tar.gz
+ sha256sums = ff4221fd79cf5e9636b511639101fd765c3b57f0461e860c1205674e679800da
pkgname = air-bin
diff --git a/PKGBUILD b/PKGBUILD
index b835ed303da..9dfa4f34bcf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,19 @@
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
pkgname=air-bin
-pkgver=1.12.0
-pkgrel=2
+pkgver=1.12.1
+pkgrel=1
pkgdesc="Cloud Live reload for Go apps"
arch=('x86_64')
+provides=("${pkgname%-bin}")
url='https://github.com/cosmtrek/air'
-license=('GPL-3.0')
+license=('GPL3')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/cosmtrek/air/archive/v${pkgver}.tar.gz")
-md5sums=('5752fc5ffadaae4c5b56e10847d933fd')
+sha256sums=('ff4221fd79cf5e9636b511639101fd765c3b57f0461e860c1205674e679800da')
package() {
install -Dm755 "${srcdir}/air-${pkgver}/bin/linux/air" "${pkgdir}/usr/bin/air"
- install -Dm644 "${srcdir}/air-${pkgver}/air_example.conf" "$pkgdir/etc/conf.d/air.conf"
- install -Dm644 "${srcdir}/air-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/air/LICENSE"
+ install -Dm644 "${srcdir}/air-${pkgver}/air_example.conf" "$pkgdir/etc/air/air.conf"
+ install -d "${pkgdir}/usr/share/licenses/${pkgname}/"
+ ln -s /usr/share/licenses/common/GPL3/license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
} \ No newline at end of file