diff options
author | raininja | 2023-11-03 22:37:36 -0400 |
---|---|---|
committer | raininja | 2023-11-03 22:37:36 -0400 |
commit | 6483e03ebbfde8e1cb1e944253c9fad4a6cf094f (patch) | |
tree | 793b82c877221a50abf131342a87a12c9eb30193 | |
download | aur-6483e03ebbfde8e1cb1e944253c9fad4a6cf094f.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4cca4b20c726 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = riverwm-utils + pkgdesc = Utilities for the River Wayland compositor + pkgver = 0.0.7.r8.gab7e631 + pkgrel = 2 + url = https://github.com/NickHastings/riverwm-utils + arch = any + license = GPLv3 + makedepends = git + makedepends = python-installer + makedepends = python-build + makedepends = python-wheel + source = git+https://github.com/NickHastings/riverwm-utils.git + md5sums = SKIP + +pkgname = riverwm-utils diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..72c1e720058c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Contributor: Dan Denkijin <dandenkijin at gmail dot com> +# Maintainer: Dan Denkijin <dandenkijin at gmail dot com> + +pkgname=riverwm-utils +pkgver=0.0.7.r8.gab7e631 +pkgrel=2 +pkgdesc="Utilities for the River Wayland compositor" +arch=(any) +url="https://github.com/NickHastings/${pkgname}" +license=(GPLv3) +makedepends=('git' 'python-installer' 'python-build' 'python-wheel') +source=("git+${url}.git") +md5sums=('SKIP') +pkgver() { + cd $srcdir/$pkgname + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} +build() { + cd $srcdir/$pkgname + python -m build --wheel --no-isolation +} +package() { + cd $srcdir/$pkgname + python -m installer --destdir="$pkgdir" dist/*.whl +} + |