diff options
author | KokaKiwi | 2020-12-10 03:50:03 +0100 |
---|---|---|
committer | KokaKiwi | 2020-12-10 03:50:03 +0100 |
commit | fe4fa26d03c4b33a2143d26bdcb1fa77adef868b (patch) | |
tree | 5f0922968f6c4e7dddc3ef25f5b9e892342fd3a8 | |
download | aur-bikeshed-git.tar.gz |
Initial commit.
-rw-r--r-- | .SRCINFO | 30 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..79302f49fe8b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,30 @@ +pkgbase = bikeshed-git + pkgdesc = A preprocessor for anyone writing specifications. + pkgver = 2.2.3.3886cea8b + pkgrel = 1 + url = https://tabatkins.github.io/bikeshed/ + arch = any + license = custom:CC0 + makedepends = git + makedepends = python-setuptools + depends = python + depends = python-aiofiles + depends = python-aiohttp + depends = python-attrs + depends = python-certifi + depends = python-cssselect + depends = python-html5lib + depends = python-isodate + depends = python-json_home_client + depends = python-lxml + depends = python-pygments + depends = python-requests + depends = python-result + depends = python-tenacity + depends = python-widlparser + source = bikeshed::git+https://github.com/tabatkins/bikeshed.git + sha256sums = SKIP + b2sums = SKIP + +pkgname = bikeshed-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5db2ee22561c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: KokaKiwi <kokakiwi+aur@kokakiwi.net> + +pkgname=bikeshed-git +pkgver=2.2.3.3886cea8b +pkgrel=1 +pkgdesc='A preprocessor for anyone writing specifications.' +arch=('any') +url="https://tabatkins.github.io/bikeshed/" +license=('custom:CC0') +depends=('python' + 'python-aiofiles' 'python-aiohttp' 'python-attrs' 'python-certifi' + 'python-cssselect' 'python-html5lib' 'python-isodate' 'python-json_home_client' + 'python-lxml' 'python-pygments' 'python-requests' 'python-result' + 'python-tenacity' 'python-widlparser') +makedepends=('git' 'python-setuptools') +source=("bikeshed::git+https://github.com/tabatkins/bikeshed.git") +sha256sums=('SKIP') +b2sums=('SKIP') + +pkgver() { + cd "bikeshed" + + printf "%s.%s" "$(cat semver.txt)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "bikeshed" + + python setup.py build +} + +package() { + cd "bikeshed" + + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |