diff options
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | bilibili-live-helper.install | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -16,8 +16,6 @@ build() { } package() { install -d "${pkgdir}/opt/${pkgname}" - install -d "${pkgdir}/usr/bin/" cp -r bilibili-live-helper/* "${pkgdir}/opt/${pkgname}" - ln -s "${pkgdir}/opt/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" } diff --git a/bilibili-live-helper.install b/bilibili-live-helper.install index 08febb30bce5..516eca7bc07a 100644 --- a/bilibili-live-helper.install +++ b/bilibili-live-helper.install @@ -1,3 +1,6 @@ post_install() { + ln -s /opt/bilibili-live-helper/bilibili-live-helper /usr/bin/bilibili-live-helper echo "For transparent support, please add these arguments: --enable-transparent-visuals and --disable-gpu" } +pre_remove() { + rm /usr/bin/bilibili-live-helper |