From 7d1496c8d46a0cac91827b5e0e233ff096ec0dbe Mon Sep 17 00:00:00 2001 From: Numair Dubas Date: Tue, 27 Dec 2022 19:12:27 -0500 Subject: [PATCH] New package: ydotool-1.0.1 --- srcpkgs/ydotool/files/ydotoold/run | 3 +++ srcpkgs/ydotool/template | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100755 srcpkgs/ydotool/files/ydotoold/run create mode 100644 srcpkgs/ydotool/template diff --git a/srcpkgs/ydotool/files/ydotoold/run b/srcpkgs/ydotool/files/ydotoold/run new file mode 100755 index 000000000000..c267a063a2ca --- /dev/null +++ b/srcpkgs/ydotool/files/ydotoold/run @@ -0,0 +1,3 @@ +#!/bin/sh +[ -r conf ] && . ../conf +exec ydotoold ${OPTS:-} diff --git a/srcpkgs/ydotool/template b/srcpkgs/ydotool/template new file mode 100644 index 000000000000..e6b064ef0f0b --- /dev/null +++ b/srcpkgs/ydotool/template @@ -0,0 +1,20 @@ +# Template file for 'ydotool' +pkgname=ydotool +version=1.0.1 +revision=1 +build_style=cmake +hostmakedepends="scdoc" +short_desc="Generic command-line automation tool (no X!)" +maintainer="Numair Dubas " +license="AGPL-3.0-or-later" +homepage="https://github.com/ReimuNotMoe/ydotool" +distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" +checksum=02311cdc608f205711b06a95e5fd71093b2294f4920efc526f5e98a2ddab42b8 + +post_install() { + vsv ydotoold + vman build/manpage/ydotool.1 + vman build/manpage/ydotoold.8 + vlicense LICENSE + vdoc README.md +}