summaryrefslogtreecommitdiff
path: root/~lukeshu/git-svn-abandon-git/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-07-06 18:02:42 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-07-06 23:02:05 -0600
commitd6781664464d20e3d579a2a220c7e102a7defda7 (patch)
treee0b6c62f7602c81e7f41c923207a84234accd850 /~lukeshu/git-svn-abandon-git/PKGBUILD
parent2967b22c6179ded9cc01496e10dcb0f292d0c182 (diff)
downloadabslibre-d6781664464d20e3d579a2a220c7e102a7defda7.tar.gz
abslibre-d6781664464d20e3d579a2a220c7e102a7defda7.tar.bz2
abslibre-d6781664464d20e3d579a2a220c7e102a7defda7.zip
~lukeshu/git-svn-abandon: fix up
Diffstat (limited to '~lukeshu/git-svn-abandon-git/PKGBUILD')
-rw-r--r--~lukeshu/git-svn-abandon-git/PKGBUILD44
1 files changed, 17 insertions, 27 deletions
diff --git a/~lukeshu/git-svn-abandon-git/PKGBUILD b/~lukeshu/git-svn-abandon-git/PKGBUILD
index fe9f9990c..8df4de38e 100644
--- a/~lukeshu/git-svn-abandon-git/PKGBUILD
+++ b/~lukeshu/git-svn-abandon-git/PKGBUILD
@@ -2,10 +2,16 @@
_pkgname=git-svn-abandon
pkgname=$_pkgname-git
+
+pkgver=20100319
+_gitver=42014bf555fdac67c8c82ed69c4733ab9dba0c8a
+
provides=($_pkgname)
conflicts=($_pkgname)
-pkgver=20120112
+
+epoch=1
pkgrel=1
+
pkgdesc="History preserving svn to git migration using git-svn."
arch=('any')
url="http://blog.woobling.org/2009/06/git-svn-abandon.html"
@@ -13,39 +19,23 @@ license=('MIT')
depends=('git')
makedepends=('git' 'python-markdown')
-_gitroot=https://github.com/nothingmuch/git-svn-abandon.git
-_gitname=$_pkgname
+source=("libre://git-svn-abandon-$_gitver.tar.gz")
+mksource=("git+https://github.com/nothingmuch/git-svn-abandon.git#commit=$_gitver")
build() {
- cd "$srcdir"
- msg "Connecting to GIT server...."
-
- if [[ -d "$_gitname" ]]; then
- cd "$_gitname" && git pull origin
- msg "The local files are updated."
- else
- git clone "$_gitroot" "$_gitname"
- fi
-
- msg "GIT checkout done or server timeout"
- msg "Starting build..."
-
- rm -rf "$srcdir/$_gitname-build"
- git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
- cd "$srcdir/$_gitname-build"
-
- #
- # BUILD HERE
- #
+ cd "$srcdir/$_pkgname"
markdown README.mkdn > README.html
}
package() {
- cd "$srcdir/$_gitname-build"
+ cd "$srcdir/$_pkgname"
install -d "$pkgdir/usr/lib/git-core"
install -m755 git-* "$pkgdir/usr/lib/git-core"
- install -D -m644 README.mkdn "$pkgdir/usr/doc/git-svn-abandon/README.md"
- install -D -m644 README.html "$pkgdir/usr/doc/git-svn-abandon/README.html"
- install -D -m644 LICENSE "$pkgdir/usr/licenses/git-svn-abandon/LICENSE"
+ install -D -m644 README.mkdn "$pkgdir/usr/doc/$_pkgname/README.md"
+ install -D -m644 README.html "$pkgdir/usr/doc/$_pkgname/README.html"
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
}
+
+mkmd5sums=('SKIP')
+md5sums=('c5dfb150c2613d963b17c1e0d80eb115')