summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUncle Hunto2016-01-13 20:19:44 -0800
committerUncle Hunto2016-01-13 20:19:44 -0800
commitca9fcc8a18a1e4cd54180420688776de00f04336 (patch)
tree8a209fa776c33ca47a852e4a8e9aed15ab746415
parent6627dd5768d13ec93af62ab6a174fcf51c2dcfe5 (diff)
downloadaur-ca9fcc8a18a1e4cd54180420688776de00f04336.tar.gz
Add provides, conflicts
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD3
2 files changed, 6 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 430587e9d4d..af606d33a0d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Thu Jan 14 02:28:24 UTC 2016
+# Thu Jan 14 04:18:44 UTC 2016
pkgbase = qbittorrent-stable-git
pkgdesc = An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar. Built from source.
pkgver = 3.3.1.r0.gd753988
@@ -19,6 +19,8 @@ pkgbase = qbittorrent-stable-git
depends = hicolor-icon-theme
depends = xdg-utils
optdepends = python: needed for torrent search tab
+ provides = qbittorrent
+ conflicts = qbittorrent
source = qbittorrent::git+https://github.com/qbittorrent/qBittorrent.git#branch=v3_3_x
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 10eaf7dcad6..617371292af 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,9 +16,12 @@ license=('custom' 'GPL')
depends=('libtorrent-rasterbar' 'qt5-base' 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils')
makedepends=('boost' 'git' 'qt5-tools')
optdepends=('python: needed for torrent search tab')
+provides=('qbittorrent')
+conflicts=('qbittorrent')
install=${pkgname%-*-*}.install
source=("${pkgname%-*-*}"::"git+https://github.com/qbittorrent/qBittorrent.git#branch=v3_3_x")
sha256sums=('SKIP')
+
pkgver() {
cd $srcdir/${pkgname%-*-*}
git describe --long --tags | sed 's/^release-//;s/-/.r/;s/-/./'