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 /PKGBUILD | |
parent | c317a8b24b8509d6d61c3d8144f59424915309c1 (diff) | |
download | aur-5f8966ca624aefe422dd9543b139fec75d674115.tar.gz |
enable nox
Signed-off-by: Yurii Kolesnykov <root@yurikoles.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 16 insertions, 18 deletions
@@ -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 +} |