blob: d5f418ea261f8874a681aba3188cf11fb660ec2a (
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
33
34
35
36
37
|
# Maintainer: Relwi <theofficialdork@hotmail.com>
_pkgname=oxidize
pkgname="${_pkgname}bot-bin"
pkgver=1.3.4
pkgrel=1
pkgdesc='High performance Twitch bot in Rust'
arch=('x86_64')
url="https://setbac.tv/"
_ghurl="https://github.com/udoprog/OxidizeBot"
license=(
'Apache-2.0'
'MIT'
)
provides=("${pkgname%-bin}=${pkgver}")
conflicts=("${pkgname%-bin}")
depends=(
'openssl'
'gcc-libs'
'zlib'
)
source=(
"${pkgname%-bin}-${pkgver}.deb::${_ghurl}/releases/download/${pkgver}/${_pkgname}-${pkgver}-amd64.deb"
"LICENSE-APACHE-${pkgver}::https://raw.githubusercontent.com/udoprog/OxidizeBot/${pkgver}/LICENSE-APACHE"
"LICENSE-MIT-${pkgver}::https://raw.githubusercontent.com/udoprog/OxidizeBot/${pkgver}/LICENSE-MIT"
)
sha256sums=('7f1184c9b4802aa9ac17a32659f34fd45750b82a304d03f9e87a07f8e30c06c2'
'cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30'
'a3b5190576facfdaa65b9e7be47b5713612a2fa8180d83a666a2572993d36542')
build() {
chmod 644 "${srcdir}/data."*
bsdtar -xf "${srcdir}/data."*
}
package() {
install -Dm755 "${srcdir}/usr/bin/${_pkgname}" -t "${pkgdir}/usr/bin"
install -Dm644 "${srcdir}/LICENSE-APACHE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-APACHE"
install -Dm644 "${srcdir}/LICENSE-MIT-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
}
|