summaryrefslogtreecommitdiffstats
path: root/main/git/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/git/APKBUILD')
-rw-r--r--main/git/APKBUILD13
1 files changed, 11 insertions, 2 deletions
diff --git a/main/git/APKBUILD b/main/git/APKBUILD
index dec110927..1d37437f2 100644
--- a/main/git/APKBUILD
+++ b/main/git/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=git
pkgver=1.7.3.2
-pkgrel=0
+pkgrel=1
pkgdesc="GIT - the stupid content tracker"
url="http://git.or.cz/"
license="GPL2"
@@ -10,6 +10,8 @@ subpackages="$pkgname-doc $pkgname-perl"
makedepends="zlib-dev openssl-dev curl-dev expat-dev perl-dev python-dev"
source="http://kernel.org/pub/software/scm/git/git-$pkgver.tar.bz2
bb-tar.patch
+ git-daemon.initd
+ git-daemon.confd
"
_makeopts="NO_ICONV=YesPlease
@@ -26,6 +28,11 @@ build() {
package() {
cd "$srcdir"/$pkgname-$pkgver
make prefix=/usr DESTDIR="$pkgdir" $_makeopts install
+ mkdir -p "$pkgdir"/var/git
+ install -Dm755 "$srcdir"/git-daemon.initd \
+ "$pkgdir"/etc/init.d/git-daemon
+ install -Dm644 "$srcdir"/git-daemon.confd \
+ "$pkgdir"/etc/conf.d/git-daemon
}
perl() {
@@ -43,4 +50,6 @@ perl() {
md5sums="902f7f07a789fedc0d2ac03656b85969 git-1.7.3.2.tar.bz2
-e63a201556c4f089de790805c09a2e5b bb-tar.patch"
+e63a201556c4f089de790805c09a2e5b bb-tar.patch
+1afefbcc6f7535f94aea279bfd7dc9ce git-daemon.initd
+6d2fbf726d0a6fd49227e6f148ffbe25 git-daemon.confd"