blob: 1ab76fd2fead82466c649360c4d6ca3792b0b48d (
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
|
# Maintainer: szdytom <szdytom@qq.com>
pkgname=nyanpasu-bin
pkgver=0.1.4
pkgrel=1
pkgdesc="BiliBili 番剧视频和弹幕元数据的解析脚本(∠・ω< )⌒☆"
arch=('any')
url="https://github.com/szdytom/nyanpasu"
license=('GPL2')
depends=('nodejs')
provides=('nyanpasu')
source=(
"https://github.com/szdytom/nyanpasu/releases/download/${pkgver}/nyanpasu.mjs"
"LICENSE"
)
sha256sums=(
'41334c9f710ff159cc79b0600f3f7b86cc2a11352aa3f9aea7dd96c84e70ab5c'
'8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643'
)
package() {
cd "${srcdir}"
# Install the executable file
install -Dm755 "nyanpasu.mjs" "${pkgdir}/usr/bin/nyanpasu.mjs"
# Install the license file
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|