summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f1485d8ad7dd7d63e6adb507862dfd120334a5bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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"
}