blob: 04adf3ec14577b3db9d28efc9bad8fad29eaa0f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: hellopoisonx <1665341912@qq.com>
# Contributor: hellopoisonx <1665341912@qq.com>
pkgname=wiliwili-bin
pkgver=0.6.0
pkgrel=1
pkgdesc="一个专为手柄用户设计的第三方 B站客户端"
arch=('x86_64')
url="https://github.com/xfangfang/wiliwili"
license=("GPL3")
depends=('mpv')
conflicts=("wiliwili-git")
source=("https://raw.githubusercontent.com/hellopoisonx/wiliwili-bin/main/wiliwili.tar.gz" "https://raw.githubusercontent.com/hellopoisonx/wiliwili-bin/main/wiliwili.desktop" "https://raw.githubusercontent.com/hellopoisonx/wiliwili-bin/main/resources.tar.gz")
sha256sums=('3684c3158caba48d2047d1983530fb1f3a940b37dce7e735d460d582cd860590'
'd7c4fb2600d372c43026b9a4f63ba23592dcb62916eb2dfd90b8e05b21ad369b'
'4bfcf70e927004d47a567e1e6b13fda2e8104f8cedbe0a83694971a4537519b8')
prepare() {
cd ${srcdir}
tar xpvf wiliwili.tar.gz -C "$srcdir"
tar xpvf resources.tar.gz -C "$srcdir"
}
package() {
cd ${srcdir}
mkdir -p "${pkgdir}/usr/share/wiliwili"
#resources
cp -r "${srcdir}/resources" "${pkgdir}/usr/share/wiliwili/"
#install the binary file
install -Dm755 "wiliwili" "${pkgdir}/usr/bin/wiliwili"
#Desktop file
install -Dm755 "wiliwili.desktop" -t "$pkgdir/usr/share/applications/wiliwili.desktop"
install -Dm644 "${srcdir}/resources/icon/wiliwili.ico" -t "$pkgdir/usr/share/icons/hicolor/scalable/apps/"
}
|