[arch-commits] Commit in qbittorrent/repos (3 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sat Dec 30 23:34:17 UTC 2017
Date: Saturday, December 30, 2017 @ 23:34:15
Author: bpiotrowski
Revision: 277508
archrelease: copy trunk to community-staging-x86_64
Added:
qbittorrent/repos/community-staging-x86_64/
qbittorrent/repos/community-staging-x86_64/PKGBUILD
(from rev 277507, qbittorrent/trunk/PKGBUILD)
qbittorrent/repos/community-staging-x86_64/qbittorrent at .service
(from rev 277507, qbittorrent/trunk/qbittorrent at .service)
----------------------+
PKGBUILD | 57 +++++++++++++++++++++++++++++++++++++++++++++++++
qbittorrent at .service | 12 ++++++++++
2 files changed, 69 insertions(+)
Copied: qbittorrent/repos/community-staging-x86_64/PKGBUILD (from rev 277507, qbittorrent/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-12-30 23:34:15 UTC (rev 277508)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
+# Contributor: Jkkyll Wu <adaptee at gmail [dot] com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
+
+pkgbase=qbittorrent
+pkgname=(qbittorrent qbittorrent-nox)
+pkgver=4.0.3
+pkgrel=2
+arch=(x86_64)
+url="https://www.qbittorrent.org"
+license=(custom GPL)
+makedepends=(libtorrent-rasterbar boost qt5-tools qt5-svg)
+source=(https://downloads.sourceforge.net/sourceforge/qbittorrent/$pkgname-$pkgver.tar.xz{,.asc})
+sha256sums=('9a03b84e6d2ac81a0add84a7946033ff9ea854de49252069e478b9f6efce6bd2'
+ 'SKIP')
+validpgpkeys=('D8F3DA77AAC6741053599C136E4A2D025B7CC9A2')
+
+build() {
+ cd $pkgbase-$pkgver
+
+ mkdir $pkgbase
+ pushd $pkgbase
+ ../configure --prefix=/usr
+ make
+
+ # Build nox variant
+ popd
+ mkdir "$pkgbase-nox"
+ pushd "$pkgbase-nox"
+ ../configure --prefix=/usr --disable-gui --enable-systemd
+}
+
+package_qbittorrent() {
+ pkgdesc="An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar."
+ depends=(libtorrent-rasterbar qt5-svg hicolor-icon-theme)
+ optdepends=('python: needed for torrent search tab')
+
+ cd $pkgbase-$pkgver/$pkgbase
+
+ make INSTALL_ROOT="$pkgdir" install
+ install -Dm644 "$srcdir"/$pkgbase-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+package_qbittorrent-nox() {
+ pkgdesc="An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar, w/o gui"
+ depends=(libtorrent-rasterbar qt5-base)
+
+ cd $pkgbase-$pkgver/$pkgbase-nox
+
+ make INSTALL_ROOT="$pkgdir" install
+ install -Dm644 "$srcdir"/$pkgbase-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
Copied: qbittorrent/repos/community-staging-x86_64/qbittorrent at .service (from rev 277507, qbittorrent/trunk/qbittorrent at .service)
===================================================================
--- community-staging-x86_64/qbittorrent at .service (rev 0)
+++ community-staging-x86_64/qbittorrent at .service 2017-12-30 23:34:15 UTC (rev 277508)
@@ -0,0 +1,12 @@
+[Unit]
+Description=qbittorrent-nox Daemon
+Documentation=https://github.com/qbittorrent/qBittorrent/wiki
+After=network.target
+
+[Service]
+User=%i
+Type=forking
+ExecStart=/usr/bin/qbittorrent-nox --daemon --webui-port=8080
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list