summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniele Paolella2016-08-30 13:21:52 +0200
committerDaniele Paolella2016-08-30 13:21:52 +0200
commitee915bc30a83c72949743faed8ce01e97e7e87d5 (patch)
tree89eaf340b4682d498e53a667e658fa21a1f05b92
parent59139eeb489785b4c15796c3cb3736334b687218 (diff)
downloadaur-ee915bc30a83c72949743faed8ce01e97e7e87d5.tar.gz
Switch to github.com repository
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD21
-rw-r--r--dvcs-autosync-git.changelog8
3 files changed, 17 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e3143b47158..ce2dc7e797e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = dvcs-autosync-git
pkgdesc = A personal Dropbox replacement based on Git
- pkgver = 0.5.192.4bea986
+ pkgver = 0.5.r193.584dfd8
pkgrel = 1
url = http://mayrhofer.eu.org/dvcs-autosync
changelog = dvcs-autosync-git.changelog
@@ -10,7 +10,7 @@ pkgbase = dvcs-autosync-git
depends = python2-pyinotify
depends = xmpppy
depends = python2
- source = git://gitorious.org/dvcs-autosync/dvcs-autosync.git
+ source = git+https://github.com/rmayr/dvcs-autosync.git
md5sums = SKIP
pkgname = dvcs-autosync-git
diff --git a/PKGBUILD b/PKGBUILD
index 198b8d1263d..1a99d08d6da 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,7 @@
-# See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
-# for more information on packaging from GIT sources.
-
-# Contributor: Daniele Paolella <danielepaolella@email.it>
+# Contributor: Daniele Paolella <daniele@promorange.com>
# Contributor: Dieter P
-pkgname=dvcs-autosync-git
-pkgver=0.5.192.4bea986
+pkgname='dvcs-autosync-git'
+pkgver=0.5.r193.584dfd8
pkgrel=1
pkgdesc="A personal Dropbox replacement based on Git"
arch=('any')
@@ -13,17 +10,15 @@ license=('GPL')
depends=('python2-pyinotify' 'xmpppy' 'python2')
makedepends=('git')
changelog=$pkgname.changelog
-source=('git://gitorious.org/dvcs-autosync/dvcs-autosync.git')
+source=('git+https://github.com/rmayr/dvcs-autosync.git')
md5sums=('SKIP')
pkgver() {
- cd "$srcdir/dvcs-autosync"
- git checkout master 2> /dev/null
- echo 0.5.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+ cd "$srcdir/${pkgname%-git}"
+ printf "0.5.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
- cd "$srcdir/dvcs-autosync"
- git checkout master
- python2 setup.py install --root="$pkgdir" --optimize=1
+ cd "$srcdir/${pkgname%-git}"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
}
diff --git a/dvcs-autosync-git.changelog b/dvcs-autosync-git.changelog
index 05cc30eb67a..2d3c1dd9fa1 100644
--- a/dvcs-autosync-git.changelog
+++ b/dvcs-autosync-git.changelog
@@ -1,4 +1,10 @@
-2013-09-02 Daniele Paolella <danielepaolella@email.it>
+2016-08-30 Daniele Paolella <daniele@promorange.com>
+
+ * 0.5.r193.584dfd8-1:
+ switch to github.com repository;
+ update PKGBUILD to comply with latest guidelines.
+
+2013-09-02 Daniele Paolella <daniele@promorange.com>
* 0.5.192.4bea986-1 :
default to master branch;