summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Tas2020-03-24 18:05:18 +0100
committerSimon Tas2020-03-24 18:05:18 +0100
commit543fd881d6244889f815472a15d263bd59df8f42 (patch)
treefa94080574d25a6224620246ad21bf813dc1e12b
parent3d9e042c1321b582396cd28060af91f5ff94c707 (diff)
downloadaur-543fd881d6244889f815472a15d263bd59df8f42.tar.gz
updated to v0.2.0
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 10 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 671ffcccb74..609965312ac 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = covid19-cli-git
pkgdesc = Corona Virus (Covid 19) BASH Tracking CLI
- pkgver = 0.1.6.r0.g0ea469c
- pkgrel = 2
+ pkgver = 0.2.0.r0.g6632ea4
+ pkgrel = 1
url = https://github.com/garrylachman/covid19-cli
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 78f60128291..90744f8efe1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Simon Tas <simon.tas.st@gmail.com>
pkgname="covid19-cli-git"
_pkgname="covid19-cli"
-pkgver=0.1.6.r0.g0ea469c
-pkgrel=2
+pkgver=0.2.0.r0.g6632ea4
+pkgrel=1
pkgdesc="Corona Virus (Covid 19) BASH Tracking CLI"
arch=('any')
url="https://github.com/garrylachman/${_pkgname}"
@@ -18,13 +18,18 @@ pkgver() {
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
+build() {
+ cd "$srcdir/${_pkgname}"
+ make build
+}
+
package() {
cd "$srcdir/${_pkgname}"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
install -dm755 "${pkgdir}/usr/bin"
- install -Dm755 "${_pkgname}.sh" "$pkgdir/usr/bin/${_pkgname}"
+ install -Dm755 "dist/${_pkgname}.sh" "$pkgdir/usr/bin/${_pkgname}"
}