diff options
author | Aniket Pradhan | 2019-03-16 14:22:59 +0530 |
---|---|---|
committer | Aniket Pradhan | 2019-03-16 14:22:59 +0530 |
commit | 0557dc11960524eebb8539f17dd3f634da001297 (patch) | |
tree | f4cae8c9de2b72dbb0981d10a78963ae984ba257 | |
download | aur-0557dc11960524eebb8539f17dd3f634da001297.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bfcd6ea0713e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = release-bot + pkgdesc = Release to Github and PyPI with an ease. + pkgver = 0.6.1 + pkgrel = 1 + url = https://github.com/user-cont/release-bot + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = python-setuptools + depends = python + depends = python-yaml + depends = python-requests + depends = python-semver + depends = twine + depends = python-wheel + depends = python-pyjwt + source = git+https://github.com/user-cont/release-bot#tag=0.6.1 + md5sums = SKIP + +pkgname = release-bot + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..54410117f645 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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') |