summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCristian Asprilla2024-08-10 10:12:29 -0400
committerCristian Asprilla2024-08-10 10:12:29 -0400
commite0c9339b5dc6cbe7d4931981a38673ea5b574eb1 (patch)
tree7c7fa233cd4366423335f07c15143acb180faeea /PKGBUILD
parent92341649572fd5637305db218817aad98134030f (diff)
downloadaur-quark-player-bin.tar.gz
version 3.4.2, Updated Electron from 25 > 28.2.7
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x[-rw-r--r--]PKGBUILD77
1 files changed, 39 insertions, 38 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 80528ec0ce36..b44e760718a8 100644..100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Contributor: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=quark-player-bin
_pkgname="Quark Player"
-pkgver=3.4.1
-pkgrel=2
+pkgver=3.4.2
+pkgrel=1
pkgdesc="An Electron based Web Video Services Player, supporting Netflix, Youtube, Twitch, Floatplane, Hulu and More!"
arch=('x86_64')
url="https://github.com/Alex313031/quark-player"
@@ -11,45 +11,46 @@ license=('MIT')
provides=("${pkgname%-bin}=${pkgver}")
conflicts=("${pkgname%-bin}")
depends=(
- 'gtk3'
- 'pango'
- 'expat'
- 'mesa'
- 'libdrm'
- 'libxcb'
- 'libxfixes'
- 'nss'
- 'hicolor-icon-theme'
- 'libxkbcommon'
- 'cairo'
- 'libxrandr'
- 'at-spi2-core'
- 'libxdamage'
- 'libx11'
- 'libxext'
- 'nspr'
- 'libcups'
- 'libxcomposite'
- 'alsa-lib'
+ 'gtk3'
+ 'pango'
+ 'expat'
+ 'mesa'
+ 'libdrm'
+ 'libxcb'
+ 'libxfixes'
+ 'nss'
+ 'hicolor-icon-theme'
+ 'libxkbcommon'
+ 'cairo'
+ 'libxrandr'
+ 'at-spi2-core'
+ 'libxdamage'
+ 'libx11'
+ 'libxext'
+ 'nspr'
+ 'libcups'
+ 'libxcomposite'
+ 'alsa-lib'
)
source=(
- "${pkgname%-bin}-${pkgver}.deb::${url}/releases/download/v${pkgver}/${pkgname%-bin}_${pkgver}_amd64.deb"
- "LICENSE.md::https://raw.githubusercontent.com/Alex313031/quark-player/v${pkgver}/LICENSE.md"
+ "${pkgname%-bin}-${pkgver}.deb::${url}/releases/download/v${pkgver}/${pkgname%-bin}_${pkgver}_amd64.deb"
+ "LICENSE.md::https://raw.githubusercontent.com/Alex313031/quark-player/v${pkgver}/LICENSE.md"
)
-sha256sums=('844062382a7406c7758cc516749420d3c5bcc5fddad918602f1474d8b9960286'
- 'c4fe7e3a4559feeb6d7f78a50ba0850e1c61854be4f4c2e674dbb060de88eae2')
+
+sha256sums=('c6e5fdaad0492e946b01d730407164ee6ee619efc63b9e32d9f7590800a2b864'
+ 'c4fe7e3a4559feeb6d7f78a50ba0850e1c61854be4f4c2e674dbb060de88eae2')
build() {
- bsdtar -xf "${srcdir}/data.tar.xz"
- sed "s|\"/opt/${_pkgname}/${pkgname%-bin}\" %U|${pkgname%-bin} --no-sandbox %U|g" -i "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop"
+ bsdtar -xf "${srcdir}/data.tar.xz"
+ sed "s|\"/opt/${_pkgname}/${pkgname%-bin}\" %U|${pkgname%-bin} --no-sandbox %U|g" -i "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop"
}
package() {
- install -Dm755 -d "${pkgdir}/opt/${pkgname%-bin}" "${pkgdir}/usr/bin"
- cp -r "${srcdir}/opt/${_pkgname}/"* "${pkgdir}/opt/${pkgname%-bin}"
- ln -sf "/opt/${pkgname%-bin}/${pkgname%-bin}" "${pkgdir}/usr/bin/${pkgname%-bin}"
- install -Dm644 "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications"
- for _icons in 16x16 32x32 48x48 64x64 128x128 256x256 512x512;do
- install -Dm644 "${srcdir}/usr/share/icons/hicolor/${_icons}/apps/${pkgname%-bin}.png" \
- -t "${pkgdir}/usr/share/icons/hicolor/${_icons}/apps"
- done
- install -Dm644 "${srcdir}/LICENSE.md" -t "${pkgdir}/usr/share/licenses/${pkgname}"
-} \ No newline at end of file
+ install -Dm755 -d "${pkgdir}/opt/${pkgname%-bin}" "${pkgdir}/usr/bin"
+ cp -r "${srcdir}/opt/${_pkgname}/"* "${pkgdir}/opt/${pkgname%-bin}"
+ ln -sf "/opt/${pkgname%-bin}/${pkgname%-bin}" "${pkgdir}/usr/bin/${pkgname%-bin}"
+ install -Dm644 "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications"
+ for _icons in 16x16 32x32 48x48 64x64 128x128 256x256 512x512; do
+ install -Dm644 "${srcdir}/usr/share/icons/hicolor/${_icons}/apps/${pkgname%-bin}.png" \
+ -t "${pkgdir}/usr/share/icons/hicolor/${_icons}/apps"
+ done
+ install -Dm644 "${srcdir}/LICENSE.md" -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}