From: knusbaum <knusbaum@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] Add ckan
Date: Sat, 19 Mar 2022 07:01:00 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36220@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 632 bytes --]
There is a new pull request by knusbaum against master on the void-packages repository
https://github.com/knusbaum/void-packages add-ckan
https://github.com/void-linux/void-packages/pull/36220
Add ckan
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
A patch file from https://github.com/void-linux/void-packages/pull/36220.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-add-ckan-36220.patch --]
[-- Type: text/x-diff, Size: 3438 bytes --]
From 32bc4df5125bb83cfd5bc3cc91ca11f63986a7d1 Mon Sep 17 00:00:00 2001
From: Kyle Nusbaum <KyleJNusbaum@gmail.com>
Date: Sat, 19 Mar 2022 00:51:15 -0500
Subject: [PATCH 1/2] New package: xow-0.5
---
srcpkgs/xow/files/xow/log/run | 3 +++
srcpkgs/xow/files/xow/run | 3 +++
srcpkgs/xow/template | 24 ++++++++++++++++++++++++
3 files changed, 30 insertions(+)
create mode 100644 srcpkgs/xow/files/xow/log/run
create mode 100644 srcpkgs/xow/files/xow/run
create mode 100644 srcpkgs/xow/template
diff --git a/srcpkgs/xow/files/xow/log/run b/srcpkgs/xow/files/xow/log/run
new file mode 100644
index 000000000000..e0b9ece1b0ee
--- /dev/null
+++ b/srcpkgs/xow/files/xow/log/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec logger -t xow -p daemon.info
diff --git a/srcpkgs/xow/files/xow/run b/srcpkgs/xow/files/xow/run
new file mode 100644
index 000000000000..14003cb11020
--- /dev/null
+++ b/srcpkgs/xow/files/xow/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec xow 2>&1
diff --git a/srcpkgs/xow/template b/srcpkgs/xow/template
new file mode 100644
index 000000000000..a8ce6d860f3b
--- /dev/null
+++ b/srcpkgs/xow/template
@@ -0,0 +1,24 @@
+# Template file for 'xow'
+pkgname=xow
+version=0.5
+revision=1
+build_style=gnu-makefile
+make_build_args="BUILD=RELEASE"
+hostmakedepends="git curl cabextract"
+makedepends="libusb-devel"
+short_desc="Linux driver for the Xbox One wireless dongle"
+maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
+license="GPL-2.0-only"
+homepage="https://medusalix.github.io/xow"
+distfiles="https://github.com/medusalix/xow/archive/refs/tags/v${version}.tar.gz"
+checksum=57b142e6794961bc25adf389004fc5bd903d7de4700ddd50ef97c6cb41af586d
+
+do_build() {
+ make BUILD=RELEASE
+}
+
+do_install() {
+ make install DESTDIR=${DESTDIR} BINDIR=/usr/bin/ UDEVDIR="/usr/lib/udev/rules.d" MODLDIR="/usr/lib/modules-load.d" MODPDIR="/usr/lib/modprobe.d"
+ vsv xow
+ rm ${DESTDIR}/etc/systemd/system/xow.service
+}
From 799e251aecff075e8e9b6228c75d6ccd480b117d Mon Sep 17 00:00:00 2001
From: Kyle Nusbaum <KyleJNusbaum@gmail.com>
Date: Sat, 19 Mar 2022 00:59:06 -0500
Subject: [PATCH 2/2] New package: ckan-1.30.4
---
srcpkgs/ckan/template | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 srcpkgs/ckan/template
diff --git a/srcpkgs/ckan/template b/srcpkgs/ckan/template
new file mode 100644
index 000000000000..8da141362ed4
--- /dev/null
+++ b/srcpkgs/ckan/template
@@ -0,0 +1,31 @@
+# Template file for 'ckan'
+pkgname=ckan
+version=1.30.4
+revision=1
+wrksrc=CKAN-${version}
+hostmakedepends="curl mono-devel msbuild-bin libgdiplus-devel"
+depends="mono libgdiplus"
+short_desc="Comprehensive Kerbal Archive Network"
+maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
+license="MIT"
+homepage="https://github.com/KSP-CKAN/CKAN"
+distfiles="https://github.com/KSP-CKAN/CKAN/archive/v${version}.tar.gz"
+checksum=7c73543bf109fd1bc7917bb1955acaab14086e709e92351d4a6b10d780d53d23
+
+do_build() {
+ ./build --configuration=Release
+}
+
+do_install() {
+ vmkdir /usr/bin/
+ vmkdir /usr/share/applications
+ vmkdir /usr/share/icons
+ vmkdir /usr/lib/ckan
+ vmkdir /usr/share/man/man1
+ vcopy debian/ckan /usr/bin/ckan
+ vcopy debian/ckan.desktop /usr/share/applications/ckan.desktop
+ vcopy debian/ckan.ico /usr/share/icons/ckan.ico
+ vlicense debian/copyright
+ vcopy _build/ckan.exe /usr/lib/ckan/ckan.exe
+ vcopy debian/ckan.1 /usr/share/man/man1/ckan.1
+}
next reply other threads:[~2022-03-19 6:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-19 6:01 knusbaum [this message]
2022-03-19 6:02 ` [PR PATCH] [Updated] " knusbaum
2022-03-19 6:04 ` New package: ckan-1.30.4 knusbaum
2022-03-22 8:09 ` 0x5c
2022-06-29 2:15 ` github-actions
2022-07-02 23:12 ` classabbyamp
2022-07-02 23:12 ` [PR PATCH] [Closed]: " classabbyamp
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36220@inbox.vuxu.org \
--to=knusbaum@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).