[arch-commits] Commit in git-lfs/repos (2 files)

Morten Linderud foxboron at archlinux.org
Fri Dec 21 20:43:02 UTC 2018


    Date: Friday, December 21, 2018 @ 20:43:01
  Author: foxboron
Revision: 417459

archrelease: copy trunk to community-testing-x86_64

Added:
  git-lfs/repos/community-testing-x86_64/
  git-lfs/repos/community-testing-x86_64/PKGBUILD
    (from rev 417458, git-lfs/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: git-lfs/repos/community-testing-x86_64/PKGBUILD (from rev 417458, git-lfs/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2018-12-21 20:43:01 UTC (rev 417459)
@@ -0,0 +1,38 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=git-lfs
+pkgver=2.6.1
+pkgrel=1
+pkgdesc="Git extension for versioning large files"
+arch=('x86_64')
+url="https://git-lfs.github.com"
+license=('MIT')
+makedepends=('go-pie' 'ruby-ronn' 'go-tools')
+depends=('git')
+source=("git+https://github.com/git-lfs/git-lfs.git#tag=v${pkgver}")
+#validpgpkeys=('4DB92D1D8CEE7E54F06713452D0C9BC12F82B3A1') # brian m. carlson <sandals at crustytoothpaste.net>
+#validpgpkeys=('88ACE9B29196305BA9947552F1BA225C0223B187') # brian m. carlson <sandals at crustytoothpaste.net>
+sha256sums=('SKIP')
+
+build(){
+  cd "$pkgname"
+  go build \
+    -gcflags "all=-trimpath=${PWD}" \
+    -asmflags "all=-trimpath=${PWD}" \
+    -ldflags "-extldflags ${LDFLAGS}" \
+    .
+  make man
+}
+
+check(){
+  cd "$pkgname"
+  make test
+}
+
+package() {
+  cd "$pkgname"
+  install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
+  install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 -t "$pkgdir"/usr/share/man/man1 man/*.1 
+  install -Dm644 -t "$pkgdir"/usr/share/man/man5 man/*.5 
+}



More information about the arch-commits mailing list