summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOriginCode2019-03-06 19:50:54 +0800
committerOriginCode2019-03-06 19:50:54 +0800
commit84a04931a2e3eb3335b1c8b11f409fd3a888aff2 (patch)
treefcfef161888c259ed1db76dd4980b8931244f7a4
parentd3621f15910c6754b0ee3bae3281e52a3d0bb1eb (diff)
downloadaur-84a04931a2e3eb3335b1c8b11f409fd3a888aff2.tar.gz
rename and update to 2.1.0
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD43
2 files changed, 33 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 086fdf316bd..035873a8386 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,25 +1,25 @@
-pkgbase = bilibili-live-helper
- pkgdesc = A Helper for Bilibili Live.
- pkgver = 1.1.3
- pkgrel = 3
- url = https://github.com/pandaGao/bilibili-live-helper
+pkgbase = bilibili-live-helper-bin
+ pkgdesc = A Helper for Bilibili Live Broadcasting.
+ pkgver = 2.1.0
+ pkgrel = 1
+ url = http://bilibili.danmaku.live/
install = bilibili-live-helper.install
arch = x86_64
- license = MIT
+ license = custom
depends = libxtst
- depends = gtk2
+ depends = gtk3
depends = libxss
depends = nss
- depends = gconf
depends = alsa-lib
provides = bilibili-live-helper
conflicts = bilibili-live-helper-git
- source = http://s2.danmaku.live/bilibili-live-helper-linux-v1.1.3.zip
+ replaces = bilibili-live-helper
+ source = http://s2.danmaku.live/弹幕库-linux-v2.1.0.zip
source = Bilibili Live Helper.desktop
source = bilibili-live-helper.ico
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
-pkgname = bilibili-live-helper
+pkgname = bilibili-live-helper-bin
diff --git a/PKGBUILD b/PKGBUILD
index 474646edc95..81323c53166 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,33 @@
-# Maintainer: Jack Wu <origincoder@yahoo.com>
-pkgname=bilibili-live-helper
-entryname="Bilibili Live Helper"
-pkgver=1.1.3
-pkgrel=3
-pkgdesc="A Helper for Bilibili Live."
+# Maintainer: OriginCode <origincoder@yahoo.com>
+
+pkgname=bilibili-live-helper-bin
+_entryname="Bilibili Live Helper"
+_srcname="弹幕库"
+_pkgname=bilibili-live-helper
+pkgver=2.1.0
+pkgrel=1
+pkgdesc="A Helper for Bilibili Live Broadcasting."
arch=('x86_64')
-url="https://github.com/pandaGao/bilibili-live-helper"
-install=${pkgname}.install
-license=('MIT')
-depends=('libxtst' 'gtk2' 'libxss' 'nss' 'gconf' 'alsa-lib')
-makedepends=()
+url="http://bilibili.danmaku.live/"
+install=$_pkgname.install
+license=('custom')
+depends=('libxtst' 'gtk3' 'libxss' 'nss' 'alsa-lib')
conflicts=('bilibili-live-helper-git')
+replaces=('bilibili-live-helper')
provides=('bilibili-live-helper')
-source=("http://s2.danmaku.live/${pkgname}-linux-v${pkgver}.zip" "${entryname}.desktop" "${pkgname}.ico")
+source=("http://s2.danmaku.live/$_srcname-linux-v$pkgver.zip" "$_entryname.desktop" "$_pkgname.ico")
md5sums=('SKIP' 'SKIP' 'SKIP')
build() {
- cd ${srcdir}
- mv Bilibili直播弹幕库-linux-x64 ${pkgname}
- cd ${pkgname}
- mv Bilibili直播弹幕库 bilibili-live-helper
+ cd $srcdir
+ mv $_srcname-linux-x64 $_pkgname
+ cd $_pkgname
+ mv $_srcname bilibili-live-helper
}
package() {
- install -d "${pkgdir}/opt/${pkgname}"
- cp -r ${srcdir}/${pkgname}/* "${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"
+ install -Dd "$pkgdir/opt/$_pkgname"
+ cp -r $srcdir/$_pkgname/* "$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"
}