summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authororhun2020-11-05 19:14:55 +0300
committerorhun2020-11-05 19:14:55 +0300
commitb131521cec196f88ba1290a938e3c8e90c94459b (patch)
tree6d9842d115a7035837389d354197f9692431849c
downloadaur-b131521cec196f88ba1290a938e3c8e90c94459b.tar.gz
Initial upload: emptty 0.3.0-1
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD32
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..90de236ca09
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = emptty
+ pkgdesc = Dead simple CLI Display Manager on TTY
+ pkgver = 0.3.0
+ pkgrel = 1
+ url = https://github.com/tvrzna/emptty
+ arch = x86_64
+ license = MIT
+ makedepends = go
+ depends = pam
+ 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
+ backup = etc/emptty/conf
+ source = emptty-0.3.0.tar.gz::https://github.com/tvrzna/emptty/archive/v0.3.0.tar.gz
+ sha512sums = 1f9be379a76e95f7965ae3853cd322d73f8c575182850e1886ae21817f6741393db0a2e36ed4995f6a9291cee1c4efa34db08557d81aefc703e7099964dc33bb
+
+pkgname = emptty
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9ab0ec35ce2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: orhun <orhunparmaksiz@gmail.com>
+# https://github.com/orhun/pkgbuilds
+
+pkgname=emptty
+pkgdesc="Dead simple CLI Display Manager on TTY"
+pkgver=0.3.0
+pkgrel=1
+arch=('x86_64')
+url="https://github.com/tvrzna/emptty"
+license=('MIT')
+depends=('pam')
+makedepends=('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')
+backup=('etc/emptty/conf')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('1f9be379a76e95f7965ae3853cd322d73f8c575182850e1886ae21817f6741393db0a2e36ed4995f6a9291cee1c4efa34db08557d81aefc703e7099964dc33bb')
+
+build() {
+ cd "$pkgname-$pkgver"
+ make build
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install-all
+ make DESTDIR="$pkgdir/" install-config
+ make DESTDIR="$pkgdir/" install-systemd
+ msg "Disable your DM and run 'systemctl enable emptty' to enable emptty at the next boot"
+}