summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 8 insertions, 13 deletions
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
}