[arch-commits] Commit in aurpublish/repos (community-any community-any/PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Sun Jul 29 16:21:31 UTC 2018


    Date: Sunday, July 29, 2018 @ 16:21:31
  Author: eschwartz
Revision: 364853

archrelease: copy trunk to community-any

Added:
  aurpublish/repos/community-any/
  aurpublish/repos/community-any/PKGBUILD
    (from rev 364852, aurpublish/trunk/PKGBUILD)

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

Copied: aurpublish/repos/community-any/PKGBUILD (from rev 364852, aurpublish/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-07-29 16:21:31 UTC (rev 364853)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+pkgname=aurpublish
+pkgver=r20.g8664477
+pkgrel=1
+pkgdesc="PKGBUILD management/upload framework for the Arch User Repository"
+arch=('any')
+url="https://github.com/eli-schwartz/${pkgname}"
+license=('GPL')
+depends=('git' 'openssh')
+_commit=86644774c1a764ef54c374d728ab4514232d6c1d
+source=("git+${url}.git?signed#commit=${_commit}")
+sha512sums=('SKIP')
+validpgpkeys=('BD27B07A5EF45C2ADAF70E0484818A6819AF4A9B') # Eli Schwartz <eschwartz at archlinux.org>
+
+pkgver() {
+    cd "${srcdir}"/${pkgname}
+
+    printf "r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+    cd "${srcdir}"/${pkgname}
+
+    make PREFIX=/usr
+}
+
+package() {
+    cd "${srcdir}"/${pkgname}
+
+    make PREFIX=/usr DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list