[arch-commits] Commit in cgit-aurweb/trunk (PKGBUILD cgit.install)
Lukas Fleischer
lfleischer at archlinux.org
Tue Feb 11 08:07:39 UTC 2020
Date: Tuesday, February 11, 2020 @ 08:07:38
Author: lfleischer
Revision: 566824
upgpkg: cgit-aurweb 1.2.2-2
* Update source URI.
* Fix path in the install script.
* Do not install the man page to avoid conflicts with the cgit package.
Modified:
cgit-aurweb/trunk/PKGBUILD
cgit-aurweb/trunk/cgit.install
--------------+
PKGBUILD | 6 +++---
cgit.install | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-11 07:58:36 UTC (rev 566823)
+++ PKGBUILD 2020-02-11 08:07:38 UTC (rev 566824)
@@ -7,7 +7,7 @@
pkgname=cgit-aurweb
pkgver=1.2.2
_commit=286df1bc2332fcc5c66724a6e2cdd034c783757a
-pkgrel=1
+pkgrel=2
pkgdesc="A web interface for git written in plain C (aurweb branch)"
arch=('x86_64')
url="https://git.zx2c4.com/cgit/"
@@ -20,7 +20,7 @@
'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/users/eworm/cgit.git#commit=${_commit}")
+source=("$pkgname::git+https://git.archlinux.org/cgit.git#commit=${_commit}")
sha256sums=('SKIP')
prepare() {
@@ -40,7 +40,7 @@
package() {
cd "$pkgname"
- make CGIT_SCRIPT_PATH="/usr/share/webapps/$pkgname" DESTDIR="$pkgdir" prefix=/usr filterdir="/usr/lib/$pkgname/filters" install install-man
+ 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"
Modified: cgit.install
===================================================================
--- cgit.install 2020-02-11 07:58:36 UTC (rev 566823)
+++ cgit.install 2020-02-11 08:07:38 UTC (rev 566824)
@@ -1,5 +1,5 @@
post_install() {
- chown -v http:http var/cache/cgit
+ 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