summaryrefslogtreecommitdiff
path: root/~lukeshu/git-svn-abandon-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to '~lukeshu/git-svn-abandon-git/PKGBUILD')
-rw-r--r--~lukeshu/git-svn-abandon-git/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/~lukeshu/git-svn-abandon-git/PKGBUILD b/~lukeshu/git-svn-abandon-git/PKGBUILD
new file mode 100644
index 000000000..8df4de38e
--- /dev/null
+++ b/~lukeshu/git-svn-abandon-git/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+_pkgname=git-svn-abandon
+pkgname=$_pkgname-git
+
+pkgver=20100319
+_gitver=42014bf555fdac67c8c82ed69c4733ab9dba0c8a
+
+provides=($_pkgname)
+conflicts=($_pkgname)
+
+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"
+license=('MIT')
+depends=('git')
+makedepends=('git' 'python-markdown')
+
+source=("libre://git-svn-abandon-$_gitver.tar.gz")
+mksource=("git+https://github.com/nothingmuch/git-svn-abandon.git#commit=$_gitver")
+
+build() {
+ cd "$srcdir/$_pkgname"
+ markdown README.mkdn > README.html
+}
+
+package() {
+ 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/$_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')