blob: c09ef110a427efacfc72978bfcc55031cbdde587 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $Id: PKGBUILD 50113 2011-06-24 20:01:46Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Current Maintainer: Patrick Palka <patrick@parcs.ath.cx>
# Previous Maintainer: Loui Chang <louipc.ist at gmail com>
# Contributor: Andreas Baumann <abaumann at yahoo dot com>
# Development: http://closure.ath.cx/aur-dev
pkgname=cgit
pkgver=0.9.0.1
pkgrel=1
pkgdesc="A web interface for git written in plain C"
arch=('i686' 'x86_64')
url="http://hjemli.net/git/cgit"
license=('GPL')
depends=('openssl')
makedepends=('git' 'zlib' 'curl' 'asciidoc')
install=cgit.install
source=("http://hjemli.net/git/cgit/snapshot/$pkgname-$pkgver.tar.bz2")
md5sums=('dddae5bcfc1eeb469fc2b95531a75c1c')
build() {
cd "$pkgname-$pkgver"
make get-git
make
make doc-man
}
package() {
cd "$pkgname-$pkgver"
make CGIT_SCRIPT_PATH=/srv/http/cgit DESTDIR="$pkgdir" install install-man
install -vDm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
install -vd "$pkgdir/var/cache/$pkgname"
}
|