blob: 87dfc2cc9b304c9d6307adb64dd4fd7d72090722 (
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: everyx <lunt.luo#gmail.com>
# Maintainer: v9pzm7 <751000925#qq.com>
_pkgbase=simple-live-app
pkgname=simple-live-app-bin
_build_id=10703
_version=1.7.3
pkgver=${_version}.${_build_id}
pkgrel=2
pkgdesc='简简单单的看直播'
arch=('x86_64')
url='https://github.com/xiaoyaocz/dart_simple_live'
license=('GPL3')
provides=("$_pkgbase")
# conflicts=("$pkgname-git" "$pkgname-beta")
source_x86_64=("$pkgname-$pkgver.deb::https://github.com/xiaoyaocz/dart_simple_live/releases/download/v${_version}/simple_live_app-${_version}+${_build_id}-linux.deb")
sha256sums_x86_64=('54f98c5b43371ef4c517756022f0eca6493e14dcb1bf694f4bfe73f575331e97')
depends=('libmpv.so' 'xdg-user-dirs')
makedepends=('patchelf')
options=(!debug)
package() {
bsdtar -xf "$srcdir"/data.tar.zst -C "$pkgdir"/
install -d "$pkgdir"/usr/bin
ln -s /usr/share/simple_live_app/simple_live_app "$pkgdir"/usr/bin/
patchelf --replace-needed libmpv.so.1 libmpv.so "$pkgdir"/usr/share/simple_live_app/lib/libmedia_kit_video_plugin.so
patchelf --replace-needed libmpv.so.1 libmpv.so "$pkgdir"/usr/share/simple_live_app/lib/libmedia_kit_native_event_loop.so
}
|