updated pkgbuild for 0.5.0

master
Edward Shen 2019-12-27 00:55:35 -05:00
parent 887d5bf3c2
commit 776d5ead9b
Signed by: edward
GPG Key ID: F350507060ED6C90
1 changed files with 10 additions and 4 deletions

View File

@ -1,6 +1,12 @@
# Maintainer: Edward Shen <code@eddie.sh>
#
# You should _always_ use the latest PKGBUILD from master, as each releases
# PKGBUILD will contain the previous release's PKGBUILD. This is because one
# cannot generate the sha512sum of the release until it's been created, and this
# file would be part of said release.
pkgname=bunbun
pkgver=0.4.1
pkgver=0.5.0
pkgrel=1
depends=('gcc-libs')
makedepends=('rust' 'cargo')
@ -9,7 +15,7 @@ pkgdesc="Re-implementation of bunny1 in Rust"
url="https://github.com/edward-shen/bunbun"
license=('AGPL')
source=("$pkgname-$pkgver.tar.gz::https://github.com/edward-shen/$pkgname/archive/$pkgver.tar.gz")
sha512sums=('b8576b40e1912bb651b12a8adb591c93fe60116ea5870a77852789fcd3e5027438847120cd1f2549271365de1ba1387145d026c035473ab510e3628fe791458e')
sha512sums=('0ffd666acc2f456eb9f83ca0cfcb9420efbb5c135aae13fab6ff194d86b2bd6ec8d225aa9ab34797be80edc6c4341a299f808e61487e308e39ce91f8435f6692')
build() {
cd "$pkgname-$pkgver"
@ -28,6 +34,6 @@ package() {
cd "$pkgname-$pkgver"
install -Dm755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
install -Dm644 "$srcdir/aux/systemd/$pkgname.service" -t "$pkgdir/usr/lib/systemd/system"
install -Dm644 "$srcdir/$pkgname.default.yaml" "$pkgdir/etc/$pkgname.yaml"
install -Dm644 "aux/systemd/$pkgname.service" -t "$pkgdir/usr/lib/systemd/system"
install -Dm644 "$pkgname.default.yaml" "$pkgdir/etc/$pkgname.yaml"
}