aboutsummaryrefslogtreecommitdiffstats
path: root/main/cgit/APKBUILD
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-07-06 15:34:54 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-07-06 15:34:54 +0000
commit6183dba7fc1663e0ac3bc743e487b58353aeb979 (patch)
tree6057b7cea2e399306bc08aa04b52e4b9cdd8795b /main/cgit/APKBUILD
parent1e04e5a10e5b423d695fd00b0967f67c0bb77682 (diff)
downloadaports-6183dba7fc1663e0ac3bc743e487b58353aeb979.tar.bz2
aports-6183dba7fc1663e0ac3bc743e487b58353aeb979.tar.xz
main/cgit: add doc subpackage
Diffstat (limited to 'main/cgit/APKBUILD')
-rw-r--r--main/cgit/APKBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/main/cgit/APKBUILD b/main/cgit/APKBUILD
index c4bda4221c..0f4abd33d0 100644
--- a/main/cgit/APKBUILD
+++ b/main/cgit/APKBUILD
@@ -1,17 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cgit
pkgver=0.10.2
-pkgrel=0
+pkgrel=1
_gitver=2.0.1
pkgdesc="A fast webinterface for git"
url="http://git.zx2c4.com/cgit/"
arch="all"
license="GPL2"
-makedepends="openssl-dev zlib-dev lua5.2-dev"
+makedepends="openssl-dev zlib-dev lua5.2-dev asciidoc"
depends=""
+subpackages="$pkgname-doc"
source="
http://git.zx2c4.com/cgit/snapshot/cgit-$pkgver.tar.xz
- http://git-core.googlecode.com/files/git-$_gitver.tar.gz
+ https://www.kernel.org/pub/software/scm/git/git-$_gitver.tar.gz
"
_makeopts="NO_ICONV=YesPlease
@@ -41,20 +42,20 @@ prepare() {
build() {
cd "$srcdir/$pkgname-$pkgver"
- make $_makeopts
+ make $_makeopts all doc-man
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make $_makeopts DESTDIR="$pkgdir" \
CGIT_SCRIPT_PATH=/usr/share/webapps/cgit \
- install
+ install install-man
ln -s cgit.cgi "$pkgdir"/usr/share/webapps/cgit/cgit
}
md5sums="6682d597f6e3e76645a254c7be537bd3 cgit-0.10.2.tar.xz
-ee3f36c64159790e74f3340b8476dca5 git-2.0.1.tar.gz"
+981f5937840716cb563be1cc6292c8d7 git-2.0.1.tar.gz"
sha256sums="94598e6582752659598e8086d3e2b2a2081df89ac8397460f507b15e71264c8d cgit-0.10.2.tar.xz
-70eaf47653bc631bcb98618327e31fb0d70d94c6c5b16bf6ac3488f200f54c9f git-2.0.1.tar.gz"
+02609a06fb40db1f6a968867c0e82bcb959b85902747830de0fda53228712daf git-2.0.1.tar.gz"
sha512sums="5f4a0b65a9a802f5a464224ad4773ce6c926d0e61bb53baa4270f923570d92674b2b1b0669a74eb0e25d2b5e7fc7f637b37037c2371ebd7a3437ce28d78d650f cgit-0.10.2.tar.xz
-3ad68db7acc74a95a41ae02e553cff85be0f90d4886d8c3a67e91dbf1a917809a940e4f9b8fad5e95db16d658e9ac60171ac51018387a45aa308d0a816e3b3c9 git-2.0.1.tar.gz"
+61bd1e250a8f01bdfed10d243fb6d95968795d7ebf8452f26ca778f0b99f2e13b35d0963004798b251c9ae300300c22dff79a0de21b5a3f1faebe51f557f33b2 git-2.0.1.tar.gz"