summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine POPINEAU2020-07-05 12:49:15 +0200
committerAntoine POPINEAU2020-07-05 12:49:15 +0200
commit3c3730b0ad9ea99d69a2cb3d0e21f6dda50d2458 (patch)
tree5043f3d974c3fe789d7e510dd14007e0c9422183
downloadaur-3c3730b0ad9ea99d69a2cb3d0e21f6dda50d2458.tar.gz
Initial 0.1.0 tagged release.
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD27
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4114768e7db
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = greetd-tuigreet
+ pkgdesc = A console UI greeter for greetd
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://github.com/apognu/tuigreet
+ arch = x86_64
+ license = GPL3
+ makedepends = rust
+ conflicts = greetd-tuigreet-bin
+ conflicts = greetd-tuigreet-git
+ source = https://github.com/apognu/tuigreet/archive/0.1.0.tar.gz
+ sha256sums = 57768c14110755ba7fa3b30f599904c16adb2ec19909842e382a65aaacec823e
+
+pkgname = greetd-tuigreet
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..263bcea49f9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Antoine POPINEAU <antoine at popineau dot eu>
+
+pkgname=greetd-tuigreet
+pkgver=0.1.0
+pkgrel=1
+
+pkgdesc='A console UI greeter for greetd'
+url='https://github.com/apognu/tuigreet'
+license=(GPL3)
+conflicts=(greetd-tuigreet-bin greetd-tuigreet-git)
+
+arch=(x86_64)
+depends=()
+makedepends=(rust)
+
+source=("${url}/archive/${pkgver}.tar.gz")
+sha256sums=('57768c14110755ba7fa3b30f599904c16adb2ec19909842e382a65aaacec823e')
+
+build() {
+ cd "tuigreet-${pkgver}"
+ cargo build --release
+}
+
+package() {
+ install -Dm755 "${srcdir}/tuigreet-${pkgver}/target/release/tuigreet" "${pkgdir}/usr/bin/tuigreet"
+ install -Dm644 "${srcdir}/tuigreet-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/tuigreet/LICENSE"
+}