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

Felix Yan felixonmars at archlinux.org
Fri Nov 9 22:48:21 UTC 2018


    Date: Friday, November 9, 2018 @ 22:48:21
  Author: felixonmars
Revision: 405090

archrelease: copy trunk to community-staging-any

Added:
  repo/repos/community-staging-any/
  repo/repos/community-staging-any/PKGBUILD
    (from rev 405087, repo/trunk/PKGBUILD)

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

Copied: repo/repos/community-staging-any/PKGBUILD (from rev 405087, repo/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 22:48:21 UTC (rev 405090)
@@ -0,0 +1,25 @@
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+## Maintainer: benklett <b.klettbach at gmail.com>
+
+pkgname=repo
+pkgver=1.12.37
+pkgrel=2
+pkgdesc="The Multiple Git Repository Tool from the Android Open Source Project"
+arch=('any')
+url="https://android.googlesource.com/tools/repo"
+license=("APACHE")
+depends=("git" "python2")
+makedepends=("git")
+source=("git+https://android.googlesource.com/tools/repo.git#tag=v$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  cd ${pkgname}
+  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' repo
+}
+
+package() {
+  cd ${pkgname}
+  install -D -m 755 repo "${pkgdir}/usr/bin/repo"
+  install -D -m 644 docs/manifest-format.txt "${pkgdir}/usr/share/doc/${pkgname}/manifest-format.txt"
+}


More information about the arch-commits mailing list