Subject: [alpine-aports] [PATCH] testing/git-lfs: new aport

From: Marian Buschsieweke <[email-masked]>
Date: Wed, 16 Aug 2017 18:53:57 +0200

An open source Git extension for versioning large files
https://git-lfs.github.com/
---
 testing/git-lfs/APKBUILD | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 testing/git-lfs/APKBUILD

diff --git a/testing/git-lfs/APKBUILD b/testing/git-lfs/APKBUILD
new file mode 100644
index 0000000000..e90784d252
--- /dev/null
+++ b/testing/git-lfs/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Marian Buschsieweke <[email-masked]>
+# Maintainer: Marian Buschsieweke <[email-masked]>
+pkgname=git-lfs
+pkgver=2.2.1
+pkgrel=0
+pkgdesc="An open source Git extension for versioning large files"
+url="https://git-lfs.github.com/"
+arch="all"
+license="MIT"
+depends="git"
+makedepends="go"
+subpackages=""
+source="$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz"
+options="!check"
+
+build() {
+	cd "$builddir"
+	GOPATH="${PWD}" go get -v -d
+	GOPATH="${PWD}" go run script/*.go -cmd build
+}
+
+package() {
+	cd "$builddir"
+	install -Dm755 "bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+}
+
+sha512sums="8e1edd588916e6a09c0fe84bdcd80b8773f3874554f941c65819bbb29cdce4846de6408dbb34b33e420d9bc768f6cd07c2dbb0979d243c98f25a32d4fc69dea4  git-lfs-2.2.1.tar.gz"
-- 
2.14.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Sören Tempel <[email-masked]>
Date: Sat, 19 Aug 2017 22:33:56 +0200

There already is an aport for git-lfs in unmaintained/ I would suggest
moving it from unmaintained/ to testing/ and updating it accordingly.

Besides git-lfs does in fact have a testsuite [0]. Please don't use
`options=!check` and instead add a check() function invoking the test
suite.

[0]: https://github.com/git-lfs/git-lfs/tree/master/test

> +++ b/testing/git-lfs/APKBUILD

Sören.

---