diff options
Diffstat (limited to 'coriolinus-calc')
-rw-r--r-- | coriolinus-calc/.SRCINFO | 10 | ||||
-rw-r--r-- | coriolinus-calc/PKGBUILD | 16 |
2 files changed, 13 insertions, 13 deletions
diff --git a/coriolinus-calc/.SRCINFO b/coriolinus-calc/.SRCINFO index 4cf55e9..9be62dc 100644 --- a/coriolinus-calc/.SRCINFO +++ b/coriolinus-calc/.SRCINFO @@ -1,12 +1,12 @@ -pkgbase = calc +pkgbase = coriolinus-calc pkgdesc = Rust command line calculator - pkgver = 0.3.0 + pkgver = 0.4.0 pkgrel = 1 - url = https://github.com/coriolinus/calc + url = https://github.com/coriolinus/ arch = x86_64 license = GPL3 makedepends = rust - source = https://github.com/coriolinus/calc/archive/v0.3.0.tar.gz - sha256sums = a1ea19acb41508129de3508a87b6d68743b8e5696bb34bada09ad706fd2aa63b + source = https://github.com/coriolinus//archive/v0.4.0.tar.gz + sha256sums = 1162441f3e9bd5fc86aa6c61f64ad8f7b5b679ab89275afce6fd7b0e99c7f3f7 pkgname = coriolinus-calc 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} } |