Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: ly-0.5.0
@ 2020-03-31 13:51 ardadem
  2020-03-31 18:36 ` [PR PATCH] [Closed]: " ardadem
  0 siblings, 1 reply; 7+ messages in thread
From: ardadem @ 2020-03-31 13:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

There is a new pull request by ardadem against master on the void-packages repository

https://github.com/ardadem/void-packages master
https://github.com/void-linux/void-packages/pull/20496

New package: ly-0.5.0


A patch file from https://github.com/void-linux/void-packages/pull/20496.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-20496.patch --]
[-- Type: text/x-diff, Size: 1636 bytes --]

From b9019b3c7190d7f91f3e935a7b1b6a05d73dc593 Mon Sep 17 00:00:00 2001
From: Arda Demir <ddmirarda@gmail.com>
Date: Tue, 31 Mar 2020 16:40:04 +0300
Subject: [PATCH] New package: ly-0.5.0

---
 srcpkgs/ly/files/ly/run | 13 +++++++++++++
 srcpkgs/ly/template     | 23 +++++++++++++++++++++++
 2 files changed, 36 insertions(+)
 create mode 100644 srcpkgs/ly/files/ly/run
 create mode 100644 srcpkgs/ly/template

diff --git a/srcpkgs/ly/files/ly/run b/srcpkgs/ly/files/ly/run
new file mode 100644
index 00000000000..0e3809bb881
--- /dev/null
+++ b/srcpkgs/ly/files/ly/run
@@ -0,0 +1,13 @@
+#!/bin/sh
+TTY_NUM=2
+if [ -x /sbin/getty -o -x /bin/getty ]; then
+	# busybox
+	GETTY=getty
+elif [ -x /sbin/agetty -o -x /bin/agetty ]; then
+	# util-linux
+	GETTY=agetty
+fi
+
+sv check ${GETTY}-tty${TTY_NUM} >/dev/null || exit 1
+
+exec /usr/bin/ly
diff --git a/srcpkgs/ly/template b/srcpkgs/ly/template
new file mode 100644
index 00000000000..5be6374472f
--- /dev/null
+++ b/srcpkgs/ly/template
@@ -0,0 +1,23 @@
+# Template file for 'ly'
+pkgname=ly
+version=0.5.0
+revision=1
+short_desc="TUI (ncurses-like) display manager"
+maintainer="Arda Demir <ddmirarda@gmail.com>"
+conf_files="/etc/ly/config.ini"
+depends="util-linux xauth"
+license="WTFPL"
+wrksrc="${pkgname}_${version}"
+homepage="https://github.com/cylgom/ly"
+distfiles="https://github.com/cylgom/ly/releases/download/v${version}/${pkgname}_${version}.zip"
+checksum=f789b2923a01ca8114665180920c0bcf003ed1fa768c5d480ac01c0ea2fd94c7
+archs=noarch
+
+do_install() {
+	sed -i '/\.service/d' install.sh
+	DESTDIR="$PKGDESTDIR" ./install.sh
+}
+
+post_install() {
+	vsv ${pkgname}
+}

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-11-06 22:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13649@inbox.vuxu.org>
2020-05-29  8:34 ` [PR PATCH] [Updated] New package: ly-0.3.0 codingHahn
2020-05-29  8:34 ` codingHahn
2020-05-29  8:38 ` codingHahn
2020-05-29  9:02 ` codingHahn
2021-11-06 22:36 ` New package: ly-0.5.0 abenson
2021-11-06 22:36 ` [PR PATCH] [Closed]: " abenson
2020-03-31 13:51 [PR PATCH] " ardadem
2020-03-31 18:36 ` [PR PATCH] [Closed]: " ardadem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).