summaryrefslogtreecommitdiff
path: root/~lukeshu/git-svn-abandon-git/PKGBUILD
blob: 8df4de38e799de3052018b4f2537f01f84f47be4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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')