[arch-commits] Commit in cgit-archweb/repos/community-x86_64 (4 files)

Christian Hesse eworm at archlinux.org
Mon Mar 16 20:59:52 UTC 2020


    Date: Monday, March 16, 2020 @ 20:59:51
  Author: eworm
Revision: 599865

archrelease: copy trunk to community-x86_64

Added:
  cgit-archweb/repos/community-x86_64/PKGBUILD
    (from rev 599864, cgit-archweb/trunk/PKGBUILD)
  cgit-archweb/repos/community-x86_64/cgit.install
    (from rev 599864, cgit-archweb/trunk/cgit.install)
Deleted:
  cgit-archweb/repos/community-x86_64/PKGBUILD
  cgit-archweb/repos/community-x86_64/cgit.install

--------------+
 PKGBUILD     |  103 +++++++++++++++++++++++++++++----------------------------
 cgit.install |   10 ++---
 2 files changed, 59 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-16 20:59:47 UTC (rev 599864)
+++ PKGBUILD	2020-03-16 20:59:51 UTC (rev 599865)
@@ -1,49 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Patrick Palka <patrick at parcs.ath.cx>
-# Contributor: Loui Chang <louipc.ist at gmail com>
-# Contributor: Andreas Baumann <abaumann at yahoo dot com>
-
-pkgname=cgit-archweb
-pkgver=1.2.2
-_commit=c45eca9e0cdf9bfbbb3a8431b5445844d4b4206e
-pkgrel=2
-pkgdesc="A web interface for git written in plain C (archweb branch)"
-arch=('x86_64')
-url="https://git.zx2c4.com/cgit/"
-license=('GPL2')
-depends=('openssl' 'luajit')
-makedepends=('git' 'zlib' 'curl' 'asciidoc')
-optdepends=('groff: about page using man page syntax'
-	    'python-pygments: syntax highlighting support'
-	    'python-docutils: about page formatted with reStructuredText'
-	    'python-markdown: about page formatted with markdown'
-	    'mime-types: serve file with correct content-type header')
-install=cgit.install
-source=("$pkgname::git+https://git.archlinux.org/cgit.git#commit=${_commit}")
-sha256sums=('SKIP')
-
-prepare() {
-	cd "$pkgname"
-
-	git submodule init
-	git submodule update
-}
-
-build() {
-	cd "$pkgname"
-
-	make
-	make doc-man
-}
-
-package() {
-	cd "$pkgname"
-	
-	make CGIT_SCRIPT_PATH="/usr/share/webapps/$pkgname" DESTDIR="$pkgdir" prefix=/usr filterdir="/usr/lib/$pkgname/filters" install
-	
-	install -vd "$pkgdir/var/cache/$pkgname"
-	mkdir -p "$pkgdir/usr/lib/$pkgname"
-	mv "$pkgdir/usr/share/webapps/$pkgname/cgit.cgi" "$pkgdir/usr/lib/$pkgname"
-	ln -sf ../../../lib/$pkgname/cgit.cgi "$pkgdir/usr/share/webapps/$pkgname/cgit.cgi"
-}

Copied: cgit-archweb/repos/community-x86_64/PKGBUILD (from rev 599864, cgit-archweb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-16 20:59:51 UTC (rev 599865)
@@ -0,0 +1,54 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Patrick Palka <patrick at parcs.ath.cx>
+# Contributor: Loui Chang <louipc.ist at gmail com>
+# Contributor: Andreas Baumann <abaumann at yahoo dot com>
+
+pkgname=cgit-archweb
+pkgver=1.2.3
+_commit=f6bb55d2802c56e9c7c01ff815b49b9e69281923
+pkgrel=1
+pkgdesc="A web interface for git written in plain C (archweb branch)"
+arch=('x86_64')
+url="https://git.zx2c4.com/cgit/"
+license=('GPL2')
+depends=('openssl' 'luajit')
+makedepends=('git' 'zlib' 'curl' 'asciidoc')
+optdepends=('groff: about page using man page syntax'
+	    'python-pygments: syntax highlighting support'
+	    'python-docutils: about page formatted with reStructuredText'
+	    'python-markdown: about page formatted with markdown'
+	    'gzip: gzip compressed snapshots'
+	    'bzip2: bzip2 compressed snapshots'
+	    'lzip: lzip compressed snapshots'
+	    'xz: xz compressed snapshots'
+	    'zstd: zstd compressed snapshots'
+	    'mime-types: serve file with correct content-type header')
+install=cgit.install
+source=("$pkgname::git+https://git.archlinux.org/cgit.git#commit=${_commit}")
+sha256sums=('SKIP')
+
+prepare() {
+	cd "$pkgname"
+
+	git submodule init
+	git submodule update
+}
+
+build() {
+	cd "$pkgname"
+
+	make
+	make doc-man
+}
+
+package() {
+	cd "$pkgname"
+	
+	make CGIT_SCRIPT_PATH="/usr/share/webapps/$pkgname" DESTDIR="$pkgdir" prefix=/usr filterdir="/usr/lib/$pkgname/filters" install
+	
+	install -vd "$pkgdir/var/cache/$pkgname"
+	mkdir -p "$pkgdir/usr/lib/$pkgname"
+	mv "$pkgdir/usr/share/webapps/$pkgname/cgit.cgi" "$pkgdir/usr/lib/$pkgname"
+	ln -sf ../../../lib/$pkgname/cgit.cgi "$pkgdir/usr/share/webapps/$pkgname/cgit.cgi"
+}

Deleted: cgit.install
===================================================================
--- cgit.install	2020-03-16 20:59:47 UTC (rev 599864)
+++ cgit.install	2020-03-16 20:59:51 UTC (rev 599865)
@@ -1,5 +0,0 @@
-post_install() {
-	chown -v http:http var/cache/cgit-archweb
-	echo "==> cgit looks at /etc/cgitrc for configuration. There is"
-	echo "==> an example configuration file in the cgitrc(5) man page."
-}

Copied: cgit-archweb/repos/community-x86_64/cgit.install (from rev 599864, cgit-archweb/trunk/cgit.install)
===================================================================
--- cgit.install	                        (rev 0)
+++ cgit.install	2020-03-16 20:59:51 UTC (rev 599865)
@@ -0,0 +1,5 @@
+post_install() {
+	chown -v http:http var/cache/cgit-archweb
+	echo "==> cgit looks at /etc/cgitrc for configuration. There is"
+	echo "==> an example configuration file in the cgitrc(5) man page."
+}



More information about the arch-commits mailing list