diff options
author | fdev31 | 2023-04-28 21:10:01 +0200 |
---|---|---|
committer | fdev31 | 2023-04-28 21:10:01 +0200 |
commit | 1b9bbd903ae34ffef9548f5ba39c489bc26b6a4d (patch) | |
tree | 88fc021faea0e8be47b5190a9c30f34db344cb6c | |
download | aur-1b9bbd903ae34ffef9548f5ba39c489bc26b6a4d.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8743eb666617 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = pyprland + pkgdesc = Easy scratchpads, smart monitor placement and more Hyprland + pkgver = 1.0.2 + pkgrel = 1 + url = https://github.com/fdev31/pyprland + arch = any + license = MIT + makedepends = git + makedepends = python-pip + depends = python + provides = pyprland + conflicts = pyprland + source = git+https://github.com/fdev31/pyprland.git#tag=1.0.2 + md5sums = SKIP + +pkgname = pyprland diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5225c2ad2250 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Fabien Devaux <fdev31@gmail.com> +# Contributor: Fabien Devaux <fdev31@gmail.com> +pkgname=pyprland +pkgver=1.0.2 +pkgrel=1 +pkgdesc="Easy scratchpads, smart monitor placement and more Hyprland" +arch=(any) +url="https://github.com/fdev31/pyprland" +license=('MIT') +groups=() +depends=('python') +makedepends=('git' 'python-pip') +provides=("${pkgname}") +conflicts=("${pkgname}") +replaces=() +backup=() +options=() +install= +source=(git+"https://github.com/fdev31/pyprland.git#tag=${pkgver}") +noextract=() +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-git}" + git checkout ${pkgver} + printf "%s" "$(git describe --tags)" +} + +package() { + cd "$srcdir/${pkgname%-git}" + pip install --root="${pkgdir}/" . +} |