summaryrefslogtreecommitdiff
path: root/pcr/ring
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-12-12 22:52:28 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-12-12 23:43:28 -0500
commitae0dcec58e17f917563f290b3f30005207f6e154 (patch)
treec9b184cdb21c17e63c25c4db4b5172d0ac99de22 /pcr/ring
parentbdba952a12e19a56afe50c46701c7b581995bbf8 (diff)
downloadabslibre-ae0dcec58e17f917563f290b3f30005207f6e154.tar.gz
abslibre-ae0dcec58e17f917563f290b3f30005207f6e154.tar.bz2
abslibre-ae0dcec58e17f917563f290b3f30005207f6e154.zip
pcr/ring: Fiddle with version number scheme
Diffstat (limited to 'pcr/ring')
-rw-r--r--pcr/ring/PKGBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/pcr/ring/PKGBUILD b/pcr/ring/PKGBUILD
index dc392aad3..da0b1b885 100644
--- a/pcr/ring/PKGBUILD
+++ b/pcr/ring/PKGBUILD
@@ -10,7 +10,7 @@
pkgbase=ring
pkgname=(ring-daemon ring-lrc ring-client-gnome)
pkgdesc="The GNU Ring VoIP system"
-pkgver=20171024.1.eadbdeb
+_pkgver=20171024.1.eadbdeb
_SOURCE_DATE_EPOCH=1508858419
# To figure out what the above value of _SOURCE_DATE_EPOCH should be,
@@ -30,10 +30,12 @@ _SOURCE_DATE_EPOCH=1508858419
# cd ring-project
# git log production -n1 --format=%ct ${_pkgver##*.}
+epoch=1
+pkgver=1.0_${_pkgver}
pkgrel=2.3
arch=("i686" "x86_64")
url="https://ring.cx/"
-source=("http://dl.ring.cx/ring-release/tarballs/${pkgbase}_${pkgver}.tar.gz"
+source=("http://dl.ring.cx/ring-release/tarballs/${pkgbase}_${_pkgver}.tar.gz"
'kashmir.tar.gz::https://github.com/Corvusoft/kashmir-dependency/archive/master.tar.gz')
noextract=('kashmir.tar.gz')
license=('GPL3')
@@ -140,6 +142,7 @@ build() {
package_ring-daemon() {
pkgdesc="The communication daemon of the GNU Ring VoIP system"
depends=("${_depends_daemon[@]}")
+ provides=("ring-daemon=2:$_pkgver") # AUR version scheme
cd "$srcdir/ring-project/daemon"
make DESTDIR="$pkgdir" install
@@ -147,8 +150,8 @@ package_ring-daemon() {
package_ring-lrc() {
pkgdesc="A client library for the GNU Ring VoIP system"
- depends=("${_depends_lrc[@]}" "ring-daemon=$pkgver")
- provides=("libringclient=$pkgver") # AUR name
+ depends=("${_depends_lrc[@]}" "ring-daemon=${epoch:+$epoch:}$pkgver")
+ provides=("libringclient=2:$_pkgver") # AUR name
replaces=("libringclient") # AUR name
cd "$srcdir/ring-project/lrc/build"
@@ -157,8 +160,8 @@ package_ring-lrc() {
package_ring-client-gnome() {
pkgdesc="A GTK+3 user interface for the GNU Ring VoIP system"
- depends=("${_depends_client_gnome[@]}" "ring-lrc=$pkgver")
- provides=("ring-gnome=$pkgver") # AUR name
+ depends=("${_depends_client_gnome[@]}" "ring-lrc=${epoch:+$epoch:}$pkgver")
+ provides=("ring-gnome=3:$_pkgver") # AUR name
replaces=("ring-gnome") # AUR name
cd "$srcdir/ring-project/client-gnome/build"