Github messages for voidlinux
 help / color / mirror / Atom feed
From: ardadem <ardadem@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: ly-0.5.0
Date: Tue, 31 Mar 2020 19:52:59 +0200	[thread overview]
Message-ID: <20200331175259.j8IkDeX32QxHX9mBPA_MzNJduddI620efQm9K54KCbM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20496@inbox.vuxu.org>

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

There is an updated 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: 1621 bytes --]

From f3f1ab46f93983f1be9d82f4c5a5c6156c2d021f 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     | 22 ++++++++++++++++++++++
 2 files changed, 35 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..970aaa010f9
--- /dev/null
+++ b/srcpkgs/ly/template
@@ -0,0 +1,22 @@
+# 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
+
+do_install() {
+	sed -i '/\.service/d' install.sh
+	DESTDIR="$PKGDESTDIR" ./install.sh
+}
+
+post_install() {
+	vsv ${pkgname}
+}

  reply	other threads:[~2020-03-31 17:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-31 13:51 [PR PATCH] " ardadem
2020-03-31 17:52 ` ardadem [this message]
2020-03-31 18:13 ` Chocimier
2020-03-31 18:36 ` ardadem
2020-03-31 18:36 ` [PR PATCH] [Closed]: " ardadem

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200331175259.j8IkDeX32QxHX9mBPA_MzNJduddI620efQm9K54KCbM@z \
    --to=ardadem@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).