summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 2 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 06245e99f25..e5ee8434257 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = heliocron-git
pkgdesc = Execute tasks relative to sunset, sunrise and other solar events.
- pkgver = 0.7.0.r0.g19ea49a
+ pkgver = 0.8.0.r1.ge5f13e1
pkgrel = 1
url = https://github.com/mfreeborn/heliocron
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index a56f0495100..f6639749099 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=heliocron-git
_pkgname=${pkgname%-*}
-pkgver=0.7.0.r0.g19ea49a
+pkgver=0.8.0.r1.ge5f13e1
pkgrel=1
pkgdesc='Execute tasks relative to sunset, sunrise and other solar events.'
arch=('x86_64')
@@ -17,19 +17,16 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
-
git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./'
}
build() {
cd "$srcdir/$_pkgname"
-
RUSTUP_TOOLCHAIN=stable cargo build --release --locked --target-dir=target
}
package() {
cd "$srcdir/$_pkgname"
-
install -Dm755 "target/release/$_pkgname" -t "$pkgdir/usr/bin"
install -Dm644 'LICENSE-APACHE' -t "$pkgdir/usr/share/licenses/$_pkgname"
install -Dm644 'LICENSE-MIT' -t "$pkgdir/usr/share/licenses/$_pkgname"