diff options
author | Yurii Kolesnykov | 2022-02-25 02:56:07 +0200 |
---|---|---|
committer | Yurii Kolesnykov | 2022-02-25 02:57:48 +0200 |
commit | 5f8966ca624aefe422dd9543b139fec75d674115 (patch) | |
tree | c8f4dcc29fdd38149e62e605b4f0101c503f90d5 | |
parent | c317a8b24b8509d6d61c3d8144f59424915309c1 (diff) | |
download | aur-5f8966ca624aefe422dd9543b139fec75d674115.tar.gz |
enable nox
Signed-off-by: Yurii Kolesnykov <root@yurikoles.com>
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 34 |
3 files changed, 28 insertions, 20 deletions
@@ -1,5 +1,5 @@ pkgbase = qbittorrent-git - pkgver = 4.4.0rc1.r164.g78eaa49cd + pkgver = 4.4.0rc1.r182.ga21bff1db pkgrel = 1 url = https://www.qbittorrent.org arch = x86_64 @@ -17,10 +17,15 @@ pkgbase = qbittorrent-git sha256sums = SKIP pkgname = qbittorrent-git - pkgdesc = An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar (development version) + pkgdesc = An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar (git version) depends = libtorrent-rasterbar depends = qt6-base depends = qt6-svg depends = hicolor-icon-theme provides = qbittorrent conflicts = qbittorrent + +pkgname = qbittorrent-nox-git + pkgdesc = An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar, w/o gui (development version) + provides = qbittorrent-nox + conflicts = qbittorrent-nox diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f8d672f54b2a --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +qbittorrent-git +src +pkg +*.pkg.* +*.log @@ -1,11 +1,9 @@ # Maintainer: Yurii Kolesnykov <root@yurikoles.com> # Based on community/qbittorrent by Antonio Rojas <arojas@archlinux.org> -# pkgbase=qbittorrent-git -# pkgname=(qbittorrent-git qbittorrent-nox-git) pkgbase=qbittorrent-git -pkgname=$pkgbase -pkgver=4.4.0rc1.r164.g78eaa49cd +pkgname=(qbittorrent-git qbittorrent-nox-git) +pkgver=4.4.0rc1.r182.ga21bff1db pkgrel=1 arch=(x86_64) url='https://www.qbittorrent.org' @@ -28,16 +26,16 @@ build() { -DQT6=ON cmake --build build - # cmake -B build-nox -S $pkgbase \ - # -DCMAKE_INSTALL_PREFIX=/usr \ - # -DQT6=ON \ - # -DGUI=OFF \ - # -DSYSTEMD=ON - # cmake --build build-nox + cmake -B build-nox -S $pkgbase \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DQT6=ON \ + -DGUI=OFF \ + -DSYSTEMD=ON + cmake --build build-nox } package_qbittorrent-git() { - pkgdesc='An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar (development version)' + pkgdesc='An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar (git version)' depends+=(qt6-svg hicolor-icon-theme) conflicts=('qbittorrent') provides=('qbittorrent') @@ -46,11 +44,11 @@ package_qbittorrent-git() { install -Dm644 $pkgbase/COPYING -t "$pkgdir"/usr/share/licenses/$pkgname } -# package_qbittorrent-nox-git() { -# pkgdesc='An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar, w/o gui (development version)' -# conflicts=('qbittorrent-nox') -# provides=('qbittorrent-nox') +package_qbittorrent-nox-git() { + pkgdesc='An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar, w/o gui (development version)' + conflicts=('qbittorrent-nox') + provides=('qbittorrent-nox') -# DESTDIR="$pkgdir" cmake --install build-nox -# install -Dm644 $pkgbase/COPYING -t "$pkgdir"/usr/share/licenses/$pkgname -# } + DESTDIR="$pkgdir" cmake --install build-nox + install -Dm644 $pkgbase/COPYING -t "$pkgdir"/usr/share/licenses/$pkgname +} |