summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authororhun2021-02-16 04:48:32 +0300
committerorhun2021-02-16 04:48:32 +0300
commit217590b1e0e75cb01eb4510ad8beec705b0c82f5 (patch)
tree22f82ccad92d1dd8b56eb3a8d76cbe73f8033d28
parentf79b7dc235ff49adad3b4a41b2c1b4767b778e82 (diff)
downloadaur-217590b1e0e75cb01eb4510ad8beec705b0c82f5.tar.gz
upgpkg: emptty 0.5.0-2
Use an install script
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
-rw-r--r--emptty.install3
3 files changed, 8 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 48005b2ac25..4b9c32c2757 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
pkgbase = emptty
pkgdesc = Dead simple CLI Display Manager on TTY
pkgver = 0.5.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/tvrzna/emptty
+ install = emptty.install
arch = x86_64
license = MIT
makedepends = go
- makedepends = libx11
makedepends = git
depends = pam
depends = libx11
diff --git a/PKGBUILD b/PKGBUILD
index 18453325819..447b0022d5a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,17 +4,18 @@
pkgname=emptty
pkgdesc="Dead simple CLI Display Manager on TTY"
pkgver=0.5.0
-pkgrel=1
+pkgrel=2
arch=('x86_64')
url="https://github.com/tvrzna/emptty"
license=('MIT')
depends=('pam' 'libx11')
-makedepends=('go' 'libx11' 'git')
+makedepends=('go' 'git')
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')
+install="$pkgname.install"
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha512sums=('4bc9d03fcc4a9a30a2f93f046f6fba422d0950508d87cf21e6cf565c02718bcb2c05e3c947a0cda648129d4cd3b8ef7d3f0d4a81388c7f3d15e437b270841d82')
@@ -35,5 +36,4 @@ package() {
make DESTDIR="$pkgdir/" install-systemd
install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
- echo "Disable your DM and run 'systemctl enable emptty' to enable emptty at the next boot"
}
diff --git a/emptty.install b/emptty.install
new file mode 100644
index 00000000000..c518d089bf2
--- /dev/null
+++ b/emptty.install
@@ -0,0 +1,3 @@
+post_install() {
+ echo "Disable your DM and run 'systemctl enable emptty' to enable emptty at the next boot"
+}