diff options
author | Ingo Heimbach | 2020-06-26 11:11:05 +0200 |
---|---|---|
committer | Ingo Heimbach | 2020-06-26 11:11:05 +0200 |
commit | 5db017e7c6a5385bcdb6f8948126a92911411c49 (patch) | |
tree | 34c062a9cc8998f3817ddd61157c353822d50a4d | |
download | aur-5db017e7c6a5385bcdb6f8948126a92911411c49.tar.gz |
Add a `PKGBUILD` for `python-github-binary-upload` version v0.1.3
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 26 |
3 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4811087559e2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-github-binary-upload + pkgdesc = A Python package which creates simple interactive menus on the command line. + pkgver = 0.1.3 + pkgrel = 1 + url = https://github.com/sciapp/github-binary-upload + arch = any + license = MIT + makedepends = python-setuptools + depends = python + depends = python-requests + depends = python-yacl + source = https://github.com/sciapp/github-binary-upload/archive/v0.1.3.tar.gz + sha256sums = 30414c7dcc94780603559bcde538e4e2351f0e26eb21e520768baf38750f9232 + +pkgname = python-github-binary-upload + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..2003141c0783 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/pkg +/src +/*.tar.xz +/*.tar.gz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9435a04686e0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Ingo Heimbach <i.heimbach@fz-juelich.de> + +pkgname="python-github-binary-upload" +pkgver="0.1.3" +pkgrel="1" +pkgdesc="A Python package which creates simple interactive menus on the command line." +arch=("any") +url="https://github.com/sciapp/github-binary-upload" +license=("MIT") +depends=("python" "python-requests" "python-yacl") +makedepends=("python-setuptools") +source=("https://github.com/sciapp/github-binary-upload/archive/v${pkgver}.tar.gz") +sha256sums=("30414c7dcc94780603559bcde538e4e2351f0e26eb21e520768baf38750f9232") + +build() { + cd "${srcdir}/${pkgname#*-}-${pkgver}" || return + python setup.py build +} + +package() { + cd "${srcdir}/${pkgname#*-}-${pkgver}" || return + python setup.py install --optimize=1 \ + --prefix=/usr \ + --root="${pkgdir}" \ + --skip-build +} |