summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-04-04 21:57:28 +0300
committerDimitris Kiziridis2020-04-04 21:57:28 +0300
commita8170afa45ee49e1ec3cd248de0fa0b8dd3cee95 (patch)
tree2ae7b3add7f004589213fb9ac34c655b630cd327
parent2ae4158d1e82fa5e369fb567485fe8b1a71275c0 (diff)
downloadaur-a8170afa45ee49e1ec3cd248de0fa0b8dd3cee95.tar.gz
sanitize pkgbuild
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 7 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b076041d88a..09d4a0824d1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,10 @@
pkgbase = air-bin
pkgdesc = Cloud Live reload for Go apps
pkgver = 1.12.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/cosmtrek/air
arch = x86_64
- license = GPL3
+ license = GPL-3.0
makedepends = go
source = air-bin-1.12.0.tar.gz::https://github.com/cosmtrek/air/archive/v1.12.0.tar.gz
md5sums = 5752fc5ffadaae4c5b56e10847d933fd
diff --git a/PKGBUILD b/PKGBUILD
index f1485d8ad7d..c151710710a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,18 +2,17 @@
pkgname=air-bin
pkgver=1.12.0
-pkgrel=1
+pkgrel=2
pkgdesc="Cloud Live reload for Go apps"
arch=('x86_64')
url='https://github.com/cosmtrek/air'
-license=('GPL3')
+license=('GPL-3.0')
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"
+ 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"
} \ No newline at end of file