aboutsummaryrefslogblamecommitdiffstats
path: root/unmaintained/gitstats/APKBUILD
blob: a85fb7fe56b23dc124844efc384d373a9ae2f0c9 (plain) (tree)
1
2
3
4
5
6
7
8


                                                               
                 
        

                                          
             





                            
                                                                                            
 
                                    

























                                                                        


                                                                                                                                                                              
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=gitstats
pkgver=2013.12.07
pkgrel=0
pkgdesc="Git history statistics generator"
url="http://gitstats.sourceforge.net/"
arch="noarch"
license="GPL2+"
depends="python gnuplot git"
depends_dev=""
makedepends=""
install=""
subpackages=""
source="http://ftp.de.debian.org/debian/pool/main/g/$pkgname/"$pkgname"_$pkgver.orig.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
}

package() {
	cd "$_builddir"
	install -m755 -D "$_builddir"/$pkgname \
		"$pkgdir"/usr/sbin/$pkgname || return 1

	for _file in gitstats.css sortable.js *.gif; do
		install -Dm644 "$_builddir"/$_file \
			"$pkgdir"/usr/share/$pkgname/$_file || return 1
	done

}

md5sums="1a26e835b067d7eb45b73df49afe34ab  gitstats_2013.12.07.orig.tar.gz"
sha256sums="1250b78ac3a1f1946d4ee2ff98b7005c9dd8137647a95593e733d3de8d65f82f  gitstats_2013.12.07.orig.tar.gz"
sha512sums="3984b6236a1957fb457ea4b444b8b56f385451d50212af138412d5d040bc7d0ef67e5e2bb74b34b2193f7e25a8cd932a1477e5babd937578c4d83f50da0e25c0  gitstats_2013.12.07.orig.tar.gz"