summaryrefslogtreecommitdiff
path: root/coriolinus-calc/PKGBUILD
diff options
context:
space:
mode:
authorDeposite Pirate2022-08-25 17:59:25 +0200
committerDeposite Pirate2022-08-25 17:59:25 +0200
commit142de6573cda0147e51e072536a53d7ace30597f (patch)
treeb336d2130f47d2d8dffe58915878cdd3fc9cd317 /coriolinus-calc/PKGBUILD
parent8a3e897b43d1e946e9e013e940e415d4acabcd1f (diff)
Bump.
modified: coriolinus-calc/.SRCINFO modified: coriolinus-calc/PKGBUILD
Diffstat (limited to 'coriolinus-calc/PKGBUILD')
-rw-r--r--coriolinus-calc/PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/coriolinus-calc/PKGBUILD b/coriolinus-calc/PKGBUILD
index bbfad1b..89c65a4 100644
--- a/coriolinus-calc/PKGBUILD
+++ b/coriolinus-calc/PKGBUILD
@@ -1,22 +1,22 @@
-pkgbase=calc
-pkgname=coriolinus-${pkgbase}
-pkgver=0.3.0
+_pkgname=calc
+pkgname=coriolinus-${_pkgname}
+pkgver=0.4.0
pkgrel=1
pkgdesc='Rust command line calculator'
-url="https://github.com/coriolinus/${pkgbase}"
+url="https://github.com/coriolinus/${_pkgname}"
arch=('x86_64')
license=('GPL3')
makedepends=('rust')
source=("${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('a1ea19acb41508129de3508a87b6d68743b8e5696bb34bada09ad706fd2aa63b')
+sha256sums=('1162441f3e9bd5fc86aa6c61f64ad8f7b5b679ab89275afce6fd7b0e99c7f3f7')
build() {
- cd "${pkgbase}-${pkgver}"
+ cd "${_pkgname}-${pkgver}"
cargo build --release --locked --all-features --target-dir=target
}
package() {
- cd "${pkgbase}-${pkgver}"
- install -Dm 755 target/release/${pkgbase} -t ${pkgdir}/usr/bin
+ cd "${_pkgname}-${pkgver}"
+ install -Dm 755 target/release/${_pkgname} -t ${pkgdir}/usr/bin
install -Dm 644 README.md CHANGELOG.md -t ${pkgdir}/usr/share/doc/${pkgname}
}