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

Christian Hesse eworm at archlinux.org
Mon Mar 16 21:01:03 UTC 2020


    Date: Monday, March 16, 2020 @ 21:01:02
  Author: eworm
Revision: 599867

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-16 21:00:56 UTC (rev 599866)
+++ PKGBUILD	2020-03-16 21:01:02 UTC (rev 599867)
@@ -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-aurweb
-pkgver=1.2.2
-_commit=286df1bc2332fcc5c66724a6e2cdd034c783757a
-pkgrel=2
-pkgdesc="A web interface for git written in plain C (aurweb 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-aurweb/repos/community-x86_64/PKGBUILD (from rev 599866, cgit-aurweb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-16 21:01:02 UTC (rev 599867)
@@ -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-aurweb
+pkgver=1.2.3
+_commit=540eca00cefc77c3b2d8af246535d267b47832af
+pkgrel=1
+pkgdesc="A web interface for git written in plain C (aurweb 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 21:00:56 UTC (rev 599866)
+++ cgit.install	2020-03-16 21:01:02 UTC (rev 599867)
@@ -1,5 +0,0 @@
-post_install() {
-	chown -v http:http var/cache/cgit-aurweb
-	echo "==> cgit looks at /etc/cgitrc for configuration. There is"
-	echo "==> an example configuration file in the cgitrc(5) man page."
-}

Copied: cgit-aurweb/repos/community-x86_64/cgit.install (from rev 599866, cgit-aurweb/trunk/cgit.install)
===================================================================
--- cgit.install	                        (rev 0)
+++ cgit.install	2020-03-16 21:01:02 UTC (rev 599867)
@@ -0,0 +1,5 @@
+post_install() {
+	chown -v http:http var/cache/cgit-aurweb
+	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