summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 8 insertions, 6 deletions
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