summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 54410117f645f2b245226916dd745e2493cc7256 (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: User Cont user-cont-team@redhat.com

pkgname=release-bot
pkgver=0.6.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')
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')