diff options
author | ny-a | 2020-07-31 00:23:46 +0900 |
---|---|---|
committer | ny-a | 2020-07-31 00:23:46 +0900 |
commit | d5f5357f2b3b8155531a20b37b86d61bd40982fa (patch) | |
tree | b38e0e84e1a8781ce4a18fa6a53eb60a4c7b2be3 | |
parent | 1af5ebfd6f489484c82a0d01b97f8a1ddd832e6f (diff) | |
download | aur-d5f5357f2b3b8155531a20b37b86d61bd40982fa.tar.gz |
Update to 0.6.0
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 9 insertions, 15 deletions
@@ -1,6 +1,6 @@ pkgbase = tiny-irc-client pkgdesc = Console IRC client written in Rust - pkgver = v0.5.1 + pkgver = 0.6.0 pkgrel = 1 url = https://github.com/osa1/tiny arch = i686 @@ -10,8 +10,8 @@ pkgbase = tiny-irc-client makedepends = git makedepends = rustup depends = libdbus - source = git+https://github.com/osa1/tiny#commit=0c2182c50d25d0048cd5b94dfd79e44cd0430408 - sha512sums = SKIP + source = https://github.com/osa1/tiny/archive/v0.6.0.tar.gz + md5sums = 1c1413cf7b8eb70e952938673d27fbe4 pkgname = tiny-irc-client @@ -2,8 +2,7 @@ # Contributor: Jean Lucas <jean@4ray.co> pkgname=tiny-irc-client -pkgver=v0.5.1 -_commit=0c2182c50d25d0048cd5b94dfd79e44cd0430408 +pkgver=0.6.0 pkgrel=1 pkgdesc='Console IRC client written in Rust' arch=(i686 x86_64 aarch64) @@ -11,27 +10,22 @@ url=https://github.com/osa1/tiny license=(MIT) depends=(libdbus) makedepends=(git rustup) -source=(git+$url#commit=$_commit) -sha512sums=('SKIP') - -pkgver() { - cd tiny - git describe --tags | sed 's#-#+#g;s#+#+r#' -} +source=("https://github.com/osa1/tiny/archive/v${pkgver}.tar.gz") +md5sums=('1c1413cf7b8eb70e952938673d27fbe4') build() { - cd tiny + cd "${srcdir}/tiny-${pkgver}" rustup override set nightly cargo build --release --locked } check() { - cd tiny + cd "${srcdir}/tiny-${pkgver}" cargo test --release --locked } package() { - cd tiny + cd "${srcdir}/tiny-${pkgver}" install -D target/release/tiny -t "$pkgdir"/usr/bin install -Dm 644 README.md -t "$pkgdir"/usr/share/doc/tiny install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/tiny |