diff options
author | Danila | 2021-02-23 03:04:12 +0300 |
---|---|---|
committer | Danila | 2021-02-23 03:04:12 +0300 |
commit | 61fa9e7fef07762bf4c8b29a0862968f80370872 (patch) | |
tree | 9894bd5786eaf0334df2b7297fbe4abd9e5b0f2c | |
download | aur-61fa9e7fef07762bf4c8b29a0862968f80370872.tar.gz |
initial release
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 38 |
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..55e345ef5f9a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = emptty-one-entry + pkgdesc = Dead simple CLI Display Manager on TTY. Only one login entry, auto choose + pkgver = 0.5.0.r0.e89ca88 + pkgrel = 1 + url = https://github.com/okhsunrog/emptty + arch = x86_64 + license = MIT + makedepends = git + makedepends = go + depends = pam + depends = libx11 + optdepends = xorg-server: default display server + optdepends = xorg-xauth: required if using xorg-server + optdepends = util-linux: mcookie required if using xorg-server + optdepends = wayland: alternative to xorg-server + provides = emptty-one-entry + conflicts = emptty-one-entry + backup = etc/emptty/conf + source = emptty-one-entry::git+https://github.com/okhsunrog/emptty.git + sha256sums = SKIP + +pkgname = emptty-one-entry + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6b14922bcf84 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: okhsunrog <me@gornushko.com> +pkgname=emptty-one-entry +pkgver=0.5.0.r0.e89ca88 +pkgrel=1 +pkgdesc="Dead simple CLI Display Manager on TTY. Only one login entry, auto choose" +arch=('x86_64') +url="https://github.com/okhsunrog/emptty" +license=('MIT') +depends=('pam' 'libx11') +makedepends=('git' 'go') +optdepends=('xorg-server: default display server' + 'xorg-xauth: required if using xorg-server' + 'util-linux: mcookie required if using xorg-server' + 'wayland: alternative to xorg-server') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +backup=('etc/emptty/conf') +source=("${pkgname%-git}::git+${url}.git") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-git}" + printf "%s" "$(git describe --tags --long $(git rev-list --all --max-count=1) \ + | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g')" +} + +build() { + cd "$srcdir/${pkgname%-git}" + make build +} + +package() { + cd "$srcdir/${pkgname%-git}" + make DESTDIR="$pkgdir/" install-all + make DESTDIR="$pkgdir/" install-config + make DESTDIR="$pkgdir/" install-systemd + printf "disable your DM and run 'systemctl enable emptty' to enable emptty at the next boot\n" +} |