summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a8c64931488ac3c016990a7f60cb00f549840c51 (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
# Maintainer: Aniket-Pradhan aniket17133@iiitd.ac.in
# Owner: Valentin Lab valentin.lab@kalysto.org

_pkgname=gitchangelog
pkgname=python-gitchangelog
pkgver=3.2.0
pkgrel=1
pkgdesc="Creates a changelog from git log history."
url="https://github.com/sarnold/gitchangelog"
license=("BSD")
depends=('python')
optdepends=('python-pystache')
makedepends=('python-setuptools')
arch=("x86_64")
source=("git+https://github.com/sarnold/${_pkgname}#tag=${pkgver}")

build() {
	cd ${srcdir}/${_pkgname}
	python setup.py build
}

package() {
	cd ${srcdir}/${_pkgname}
	python setup.py install --root="$pkgdir/" --optimize=1 --skip-build

	install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}

sha256sums=('32799a97f232967209caf4f80a9b06a7e75aca2c32640caa17a4a168a4a7e092')