aboutsummaryrefslogtreecommitdiffstats
path: root/testing/git-lfs
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-09-29 18:04:19 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2015-09-29 18:04:19 +0200
commite080f0575da64ae04531610d9ab1fefe7e132a44 (patch)
treea00461d16ccb80b68a0ed9d7dbe6a4e5f5923b51 /testing/git-lfs
parentb5ec9730c022a6686955a4648329868cfdd598af (diff)
downloadaports-e080f0575da64ae04531610d9ab1fefe7e132a44.tar.bz2
aports-e080f0575da64ae04531610d9ab1fefe7e132a44.tar.xz
testing/git-lfs: new aport
Diffstat (limited to 'testing/git-lfs')
-rw-r--r--testing/git-lfs/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/git-lfs/APKBUILD b/testing/git-lfs/APKBUILD
new file mode 100644
index 0000000000..1b8d4491c7
--- /dev/null
+++ b/testing/git-lfs/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
+pkgname=git-lfs
+pkgver=0.6.0
+pkgrel=0
+pkgdesc="Git extension for versioning large files"
+url="https://git-lfs.github.com/"
+arch="all"
+license="MIT"
+depends=""
+depends_dev=""
+makedepends="go"
+install=""
+subpackages="$pkgname-doc"
+options="!strip"
+source="$pkgname-$pkgver.tar.gz::https://github.com/github/$pkgname/archive/v$pkgver.tar.gz"
+
+_builddir="$srcdir"/src/github.com/github
+prepare() {
+ mkdir -p "$_builddir"
+ ln -s "$srcdir"/$pkgname-$pkgver "$_builddir"/$pkgname || return 1
+}
+
+build() {
+ cd "$_builddir"/$pkgname
+ GOPATH="$srcdir" go build || return 1
+
+ # TODO man page generation would require ronn which isn't packaged yet.
+ # sh ./script/man
+}
+
+package() {
+ cd "$_builddir"/$pkgname
+ install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname || return 1
+
+ mkdir -p "$pkgdir"/usr/share/doc/$pkgname
+ for file in api extensions.md spec.md README.md; do
+ mv docs/$file "$pkgdir"/usr/share/doc/$pkgname/ || return 1
+ done
+}
+
+md5sums="ccc0fce4a46559d42e93308ed62dac3f git-lfs-0.6.0.tar.gz"
+sha256sums="cfb270be1e480c70f0cea8eacf9828c2d7ef590532b8a88931ca58e1505183c1 git-lfs-0.6.0.tar.gz"
+sha512sums="90b994d6840d265ee3bcadcc9c371608b8fa3f1fce50253aedea2d172f1324b93995ebe0e7ada291764d2e68b8c85bd2992e7dda8d76cd271bd9c4883d95f907 git-lfs-0.6.0.tar.gz"