[arch-commits] Commit in git-lfs/repos/community-x86_64 (PKGBUILD PKGBUILD)

Morten Linderud foxboron at archlinux.org
Wed Oct 3 11:06:32 UTC 2018


    Date: Wednesday, October 3, 2018 @ 11:06:31
  Author: foxboron
Revision: 389167

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   81 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-03 11:06:20 UTC (rev 389166)
+++ PKGBUILD	2018-10-03 11:06:31 UTC (rev 389167)
@@ -1,40 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-pkgname=git-lfs
-pkgver=2.5.2
-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')
-depends=('git')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/git-lfs/git-lfs/archive/v${pkgver}.tar.gz")
-sha256sums=('0ab21f0f9b6c40acd9748a1669f1023ef38f913d8be83bbf7b7c7d983bd3c4d1')
-
-prepare(){
-  mkdir -p src/github.com/git-lfs
-  ln -rTsf "${pkgname}-${pkgver}" src/github.com/git-lfs/git-lfs
-}
-
-build(){
-  export GOPATH="${srcdir}" 
-  cd "src/github.com/git-lfs/git-lfs"
-  go install -gcflags "all=-trimpath=${GOPATH}" -asmflags "all=-trimpath=${GOPATH}" ./...
-  make man
-}
-
-check(){
-  export GOPATH="${srcdir}" 
-  cd "src/github.com/git-lfs/git-lfs"
-  go test ./...
-}
-
-package() {
-  install -Dm755 ./bin/$pkgname "$pkgdir"/usr/bin/$pkgname
-
-  cd "${pkgname}-${pkgver}"
-  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 
-}

Copied: git-lfs/repos/community-x86_64/PKGBUILD (from rev 389166, git-lfs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-03 11:06:31 UTC (rev 389167)
@@ -0,0 +1,41 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=git-lfs
+pkgver=2.5.2
+pkgrel=2
+pkgdesc="Git extension for versioning large files"
+arch=('x86_64')
+url="https://git-lfs.github.com"
+license=('MIT')
+makedepends=('go-pie' 'ruby-ronn')
+depends=('git')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/git-lfs/git-lfs/archive/v${pkgver}.tar.gz")
+sha256sums=('0ab21f0f9b6c40acd9748a1669f1023ef38f913d8be83bbf7b7c7d983bd3c4d1')
+
+prepare(){
+  mkdir -p src/github.com/git-lfs
+  ln -rTsf "${pkgname}-${pkgver}" src/github.com/git-lfs/git-lfs
+}
+
+build(){
+  export GOPATH="${srcdir}" 
+  cd "src/github.com/git-lfs/git-lfs"
+  go generate ./commands
+  go install -gcflags "all=-trimpath=${GOPATH}" -asmflags "all=-trimpath=${GOPATH}" ./...
+  make man
+}
+
+check(){
+  export GOPATH="${srcdir}" 
+  cd "src/github.com/git-lfs/git-lfs"
+  go test ./...
+}
+
+package() {
+  install -Dm755 ./bin/$pkgname "$pkgdir"/usr/bin/$pkgname
+
+  cd "${pkgname}-${pkgver}"
+  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