diff options
-rw-r--r-- | .SRCINFO | 31 | ||||
-rw-r--r-- | .nvchecker.toml | 4 | ||||
-rw-r--r-- | PKGBUILD | 61 |
3 files changed, 47 insertions, 49 deletions
@@ -1,24 +1,27 @@ pkgbase = bitcomet - pkgdesc = A free BitTorrent download client! Powerful, super-fast and easy-to-use - pkgver = 2.7.0 + pkgdesc = A BitTorrent/HTTP/FTP download client + pkgver = 2.8.3 pkgrel = 1 url = https://www.bitcomet.com arch = x86_64 - license = LicenseRef-bitcomet - makedepends = appimagetool-bin + license = LicenseRef-BitComet + depends = cairo + depends = expat + depends = gcc-libs + depends = gdk-pixbuf2 + depends = glib2 depends = glibc + depends = gtk3 depends = hicolor-icon-theme - depends = zlib - depends = lerc - depends = fuse2 + depends = libpng + depends = libx11 + depends = libxml2 + depends = pango depends = webkit2gtk - depends = libjpeg6-turbo - options = !strip - source = BitComet-2.7.0-x86_64.AppImage::https://download.bitcomet.com/linux/BitComet-2.7.0-x86_64.AppImage - source = libtiff-4.5.0-4-x86_64.pkg.tar.zst::https://archive.archlinux.org/packages/l/libtiff/libtiff-4.5.0-4-x86_64.pkg.tar.zst + depends = zlib + source = bitcomet-2.8.3.deb::https://download.bitcomet.com/linux/x86_64/BitComet-2.8.3-x86_64.deb source = LICENSE.html::https://www.bitcomet.com/en/license - sha256sums = 125e50545668c5d2204aa38b31dd1f070b8dfdf595e15bcf41de6dedc85d42f7 - sha256sums = c5eaf83c66d97b751c6e63a7b1f54378e3232e41d81505a6576ccd8741f675b9 - sha256sums = SKIP + sha256sums = a17a49ba23454b9a4c958336068ebc72dadffe4f2ec4190ab3af124da81a22f0 + sha256sums = 2ca856a798f48a00847f837133e368d4c3d1e776274a45fdcc4df22a8d25fca5 pkgname = bitcomet diff --git a/.nvchecker.toml b/.nvchecker.toml new file mode 100644 index 000000000000..174b41274b10 --- /dev/null +++ b/.nvchecker.toml @@ -0,0 +1,4 @@ +[bitcomet] +source = "regex" +url = "https://download.bitcomet.com/linux/x86_64/" +regex = 'BitComet-([\d.]+)-x86_64\.deb' @@ -1,43 +1,34 @@ -# Maintainer: irmluity <45vw4yz8g@mozmail.com> +# Maintainer: +# Contributor: irmluity <45vw4yz8g@mozmail.com> +# Contributor: d6k283tix <d6k283tix@mozmail.com> pkgname=bitcomet -pkgver=2.7.0 +pkgver=2.8.3 pkgrel=1 -pkgdesc="A free BitTorrent download client! Powerful, super-fast and easy-to-use" +pkgdesc="A BitTorrent/HTTP/FTP download client" arch=(x86_64) url='https://www.bitcomet.com' -license=('LicenseRef-bitcomet') -depends=('glibc' 'hicolor-icon-theme' 'zlib' 'lerc' 'fuse2' 'webkit2gtk' 'libjpeg6-turbo') -makedepends=('appimagetool-bin') -options=(!strip) -source=( - "BitComet-${pkgver}-${CARCH}.AppImage::https://download.bitcomet.com/linux/BitComet-${pkgver}-${CARCH}.AppImage" - "libtiff-4.5.0-4-x86_64.pkg.tar.zst::https://archive.archlinux.org/packages/l/libtiff/libtiff-4.5.0-4-${CARCH}.pkg.tar.zst" - "LICENSE.html::https://www.bitcomet.com/en/license" -) -sha256sums=( - "125e50545668c5d2204aa38b31dd1f070b8dfdf595e15bcf41de6dedc85d42f7" - "c5eaf83c66d97b751c6e63a7b1f54378e3232e41d81505a6576ccd8741f675b9" - "SKIP" -) -_install_path="/opt/$pkgname" - -prepare() { - cd "${srcdir}" - chmod a+x "BitComet-${pkgver}-${CARCH}.AppImage" - ./BitComet-${pkgver}-${CARCH}.AppImage --appimage-extract >/dev/null -} +license=('LicenseRef-BitComet') +depends=('cairo' + 'expat' + 'gcc-libs' + 'gdk-pixbuf2' + 'glib2' + 'glibc' + 'gtk3' + 'hicolor-icon-theme' + 'libpng' + 'libx11' + 'libxml2' + 'pango' + 'webkit2gtk' + 'zlib') +source=("${pkgname}-${pkgver}.deb::https://download.bitcomet.com/linux/x86_64/BitComet-${pkgver}-x86_64.deb" + "LICENSE.html::https://www.bitcomet.com/en/license") +sha256sums=('a17a49ba23454b9a4c958336068ebc72dadffe4f2ec4190ab3af124da81a22f0' + '2ca856a798f48a00847f837133e368d4c3d1e776274a45fdcc4df22a8d25fca5') package() { - install -Dm755 "${srcdir}/usr/lib/libtiff.so.6.0.0" "${srcdir}/squashfs-root/lib/${CARCH}-linux-gnu/libtiff.so.6" - install -Dm755 "${srcdir}/usr/lib/libtiffxx.so.6.0.0" "${srcdir}/squashfs-root/lib/${CARCH}-linux-gnu/libtiffxx.so.6" - unset SOURCE_DATE_EPOCH - ARCH=${CARCH} appimagetool "${srcdir}/squashfs-root" "${srcdir}/${pkgname}.AppImage" - install -Dm755 "${srcdir}/${pkgname}.AppImage" "${pkgdir}/${_install_path}/${pkgname}.AppImage" - sed -i 's|Exec=usr/bin/BitComet|Exec=/usr/bin/bitcomet|g' "${srcdir}/squashfs-root/com.bitcomet.linux.desktop" - install -Dm644 "${srcdir}/squashfs-root/com.bitcomet.linux.desktop" "$pkgdir/usr/share/applications/${pkgname}.desktop" - install -Dm644 "${srcdir}/squashfs-root/usr/share/icons/hicolor/512x512/apps/${pkgname}.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${pkgname}.png" - install -dm755 "${pkgdir}/usr/bin" - ln -s "/opt/${pkgname}/${pkgname}.AppImage" "${pkgdir}/usr/bin/${pkgname}" - install -Dm644 "$srcdir/LICENSE.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.html" + bsdtar -xf data.tar.xz -C "${pkgdir}" --no-same-owner --no-same-permissions + install -Dm644 LICENSE.html -t "${pkgdir}/usr/share/licenses/${pkgname}" } |