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 /PKGBUILD | |
download | aur-bikeshed-git.tar.gz |
Initial commit.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
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" +} |