Compare commits
2 commits
68099c74fb
...
cc7ac3e617
Author | SHA1 | Date | |
---|---|---|---|
cc7ac3e617 | |||
a16e874830 |
2 changed files with 12 additions and 2 deletions
4
PKGBUILD
4
PKGBUILD
|
@ -6,7 +6,7 @@
|
||||||
# file would be part of said release.
|
# file would be part of said release.
|
||||||
|
|
||||||
pkgname=bunbun
|
pkgname=bunbun
|
||||||
pkgver=0.5.0
|
pkgver=0.6.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
depends=('gcc-libs')
|
depends=('gcc-libs')
|
||||||
makedepends=('rust' 'cargo')
|
makedepends=('rust' 'cargo')
|
||||||
|
@ -15,7 +15,7 @@ pkgdesc="Re-implementation of bunny1 in Rust"
|
||||||
url="https://github.com/edward-shen/bunbun"
|
url="https://github.com/edward-shen/bunbun"
|
||||||
license=('AGPL')
|
license=('AGPL')
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/edward-shen/$pkgname/archive/$pkgver.tar.gz")
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/edward-shen/$pkgname/archive/$pkgver.tar.gz")
|
||||||
sha512sums=('0ffd666acc2f456eb9f83ca0cfcb9420efbb5c135aae13fab6ff194d86b2bd6ec8d225aa9ab34797be80edc6c4341a299f808e61487e308e39ce91f8435f6692')
|
sha512sums=('1fb4648972275cc288a46362f2d0a239a41cda136f45b535fbdfa616f85239b5deb5f623fa3fb5ec413ae0a6e74bf7f5a899ecaebf19bd27b6c1fadf6a19563c')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
|
|
10
aux/update_pkgbuild
Executable file
10
aux/update_pkgbuild
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
mkdir -p out
|
||||||
|
|
||||||
|
# shellcheck disable=SC2207
|
||||||
|
SHASUM=($(curl -sL "https://github.com/edward-shen/bunbun/archive/$1.tar.gz" | sha512sum))
|
||||||
|
HASH="${SHASUM[0]}"
|
||||||
|
sed -i "s/^pkgver=.*$/pkgver=$1/; s/sha512sums=('\w*/sha512sums=('$HASH/" PKGBUILD
|
Loading…
Reference in a new issue