summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2020-05-01 00:58:38 +0200
committerEric Engestrom2020-05-01 01:03:10 +0200
commit611c9657b4242973b8d876fa30ea75187c9ff35a (patch)
tree1e8253575e61dee10ce2971d7d5cff9bb0f205bc
downloadaur-611c9657b424.tar.gz
initial commit - v0.2
-rw-r--r--.SRCINFO13
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD27
3 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..f6e5bf80c4e2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = greetd-wlgreet
+ pkgdesc = Wayland greeter for greetd
+ pkgver = 0.2
+ pkgrel = 1
+ url = https://git.sr.ht/~kennylevinsen/wlgreet
+ arch = x86_64
+ license = MIT
+ makedepends = rust
+ source = https://git.sr.ht/~kennylevinsen/wlgreet/archive/0.2.tar.gz
+ sha256sums = 5761d43e4efbf330aca67be387813849ad11e1cd79c2b5d951f83fa09c4d01ef
+
+pkgname = greetd-wlgreet
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..018a3de08144
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!PKGBUILD
+!.SRCINFO
+!.gitignore
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..f26bfcdda1c5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch>
+
+pkgname=greetd-wlgreet
+pkgver=0.2
+pkgrel=1
+pkgdesc="Wayland greeter for greetd"
+arch=(x86_64)
+url="https://git.sr.ht/~kennylevinsen/wlgreet"
+license=(MIT)
+source=("https://git.sr.ht/~kennylevinsen/wlgreet/archive/$pkgver.tar.gz")
+sha256sums=('5761d43e4efbf330aca67be387813849ad11e1cd79c2b5d951f83fa09c4d01ef')
+makedepends=(rust)
+
+build() {
+ cd wlgreet-$pkgver
+ cargo build --release
+}
+
+check() {
+ cd wlgreet-$pkgver
+ cargo test --release
+}
+
+package() {
+ install -d "$pkgdir"/usr/bin
+ install -m755 wlgreet-$pkgver/target/release/wlgreet "$pkgdir"/usr/bin/
+}