summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2920b253290af319464a74526cd57264588ed842 (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
# Maintainer: Aniket-Pradhan aniket17133@iiitd.ac.in
# Owner: Userspace Containerization team at Red Hat user-cont-team@redhat.com

pkgname=release-bot
pkgver=0.7.1
pkgrel=1
pkgdesc="Release to Github and PyPI with an ease."
url="https://github.com/user-cont/release-bot"
license=("GPL3")
depends=('python' 'python-yaml' 'python-requests' 'python-semver' 'twine' 'python-wheel' 'python-pyjwt' 'python-flask')
makedepends=('python-setuptools')
arch=("i686" "x86_64")
source=("git+https://github.com/user-cont/${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"
}

md5sums=('SKIP')