summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOriginCode2019-12-20 00:11:56 +0800
committerOriginCode2019-12-20 00:11:56 +0800
commitaff4774516ce000df8670406694085d1d2c34c3e (patch)
treefdd3da38be5481d8e64a57549444def68476b203
parent26ddb1da048531e65c07196d89038aa1a6da01df (diff)
downloadaur-aff4774516ce000df8670406694085d1d2c34c3e.tar.gz
update
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD19
2 files changed, 12 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e42e9850448..fd287d06c79 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = bilibili-live-helper-bin
pkgdesc = A Helper for Bilibili Live Broadcasting.
- pkgver = 2.1.1
- pkgrel = 2
+ pkgver = 2.2.0
+ pkgrel = 1
url = http://bilibili.danmaku.live/
install = bilibili-live-helper.install
arch = x86_64
@@ -14,10 +14,10 @@ pkgbase = bilibili-live-helper-bin
provides = bilibili-live-helper
conflicts = bilibili-live-helper-git
replaces = bilibili-live-helper
- source = http://s2.danmaku.live/弹幕库-linux-v2.1.1.zip
+ source = http://s2.danmaku.live/弹幕库-linux-v2.2.0.zip
source = Bilibili Live Helper.desktop
source = bilibili-live-helper.ico
- sha512sums = ad888e43dc9e9975d7bce52c07d7286b01b3d83f70a37ba9c02068e6f42211c63f17f05fa53d347bf95e0f0745eb82f3a7ba222df4706852ba8e9f93c015a100
+ sha512sums = 97ca33b3e449f01375398caa312900a72c93cff6704f989687950bb2fb614327cb54fc7cb3950853bef39486532b0f61bba9a8ef9fa24f26308371df61af3471
sha512sums = 3e6be3336af1edb333ca519ff01fd4b43920bb02c1197c6768b6bd95abed7e851b4711bcba018d29ce725c7aaf3a202f92427dfb6f9cf0db62fee084b24672a5
sha512sums = e9e2ca9da776ddcf8f259dad2deab208998f22238b2d4ff05d69955324729b71add6b6e628b4b7add354791b175e15525a9ec8371a7ece65a6a8ebe6e052c0e1
diff --git a/PKGBUILD b/PKGBUILD
index f4b788bdc87..7258bb5ee1d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@ pkgname=bilibili-live-helper-bin
_entryname="Bilibili Live Helper"
_srcname="弹幕库"
_pkgname=bilibili-live-helper
-pkgver=2.1.1
-pkgrel=2
+pkgver=2.2.0
+pkgrel=1
pkgdesc="A Helper for Bilibili Live Broadcasting."
arch=('x86_64')
url="http://bilibili.danmaku.live/"
@@ -16,22 +16,19 @@ conflicts=('bilibili-live-helper-git')
replaces=('bilibili-live-helper')
provides=('bilibili-live-helper')
source=("http://s2.danmaku.live/$_srcname-linux-v$pkgver.zip" "$_entryname.desktop" "$_pkgname.ico")
-sha512sums=(
- 'ad888e43dc9e9975d7bce52c07d7286b01b3d83f70a37ba9c02068e6f42211c63f17f05fa53d347bf95e0f0745eb82f3a7ba222df4706852ba8e9f93c015a100'
- '3e6be3336af1edb333ca519ff01fd4b43920bb02c1197c6768b6bd95abed7e851b4711bcba018d29ce725c7aaf3a202f92427dfb6f9cf0db62fee084b24672a5'
- 'e9e2ca9da776ddcf8f259dad2deab208998f22238b2d4ff05d69955324729b71add6b6e628b4b7add354791b175e15525a9ec8371a7ece65a6a8ebe6e052c0e1'
-)
+sha512sums=('97ca33b3e449f01375398caa312900a72c93cff6704f989687950bb2fb614327cb54fc7cb3950853bef39486532b0f61bba9a8ef9fa24f26308371df61af3471'
+ '3e6be3336af1edb333ca519ff01fd4b43920bb02c1197c6768b6bd95abed7e851b4711bcba018d29ce725c7aaf3a202f92427dfb6f9cf0db62fee084b24672a5'
+ 'e9e2ca9da776ddcf8f259dad2deab208998f22238b2d4ff05d69955324729b71add6b6e628b4b7add354791b175e15525a9ec8371a7ece65a6a8ebe6e052c0e1')
+_dirname="$_srcname-linux-v$pkgver"
build() {
- cd "$srcdir"
- mv "$_srcname-linux-x64" "$_pkgname"
- cd "$_pkgname"
+ cd "$srcdir/$_dirname"
mv "$_srcname" "$_pkgname"
}
package() {
install -Dd "$pkgdir/opt/$_pkgname"
- cp -r "$srcdir/$_pkgname"/* "$pkgdir/opt/$_pkgname"
+ cp -r "$srcdir/$_dirname"/* "$pkgdir/opt/$_pkgname"
install -Dm755 ./"$_entryname.desktop" "$pkgdir/usr/share/applications/$_entryname.desktop"
install -Dm444 ./"$_pkgname.ico" "$pkgdir/usr/share/icons/hicolor/128x128/$_pkgname.ico"
}