[arch-commits] Commit in (repo repo/repos repo/trunk repo/trunk/PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Thu Jun 2 18:59:59 UTC 2016
Date: Thursday, June 2, 2016 @ 20:59:59
Author: spupykin
Revision: 177757
Added:
repo/
repo/repos/
repo/trunk/
repo/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Added: repo/trunk/PKGBUILD
===================================================================
--- repo/trunk/PKGBUILD (rev 0)
+++ repo/trunk/PKGBUILD 2016-06-02 18:59:59 UTC (rev 177757)
@@ -0,0 +1,24 @@
+## Maintainer: benklett <b.klettbach at gmail.com>
+
+pkgname=repo
+pkgver=1.12.33
+pkgrel=1
+pkgdesc="The Multiple Git Repository Tool from the Android Open Source Project"
+arch=("i686" "x86_64")
+url="http://source.android.com/source/git-repo.html"
+license=("APACHE")
+depends=("git" "python2")
+makedepends=("git")
+source=("git+https://android.googlesource.com/tools/repo.git#tag=v$pkgver")
+md5sums=('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