From 32bc4df5125bb83cfd5bc3cc91ca11f63986a7d1 Mon Sep 17 00:00:00 2001 From: Kyle Nusbaum 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 " +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 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 " +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 +}