From 2785acfb44afa186c13555fe28a98ac982e51e5f Mon Sep 17 00:00:00 2001 From: NafzorOB <130201394+NafzorOB@users.noreply.github.com> Date: Sat, 1 Jul 2023 17:10:44 -0500 Subject: [PATCH 1/2] Create template for libdisplay-info --- srcpkgs/libdisplay-info/template | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 srcpkgs/libdisplay-info/template diff --git a/srcpkgs/libdisplay-info/template b/srcpkgs/libdisplay-info/template new file mode 100644 index 000000000000..2882e57238e2 --- /dev/null +++ b/srcpkgs/libdisplay-info/template @@ -0,0 +1,17 @@ +# Template file for 'libdisplay-info' +pkgname=libdisplay-info +version=0.1.1 +revision=1 +build_style=meson +hostmakedepends="hwids" +short_desc="EDID and DisplayID library" +maintainer="NafzorOB " +license="MIT" +homepage="https://gitlab.freedesktop.org/emersion/libdisplay-info" +changelog="https://github.com/dylanaraps/neofetch/releases/tag/${version}" +distfiles="${homepage}/-/archive/${version}/libdisplay-info-${version}.tar.gz" +checksum=a5aeef57817916286526292ec816a5338c4d3c0094ce91e584fc82b57070a44f + +post_install() { + vlicense LICENSE +} From dd8ff22e9d5194ffdc6ee099fde34f3519b23f16 Mon Sep 17 00:00:00 2001 From: NafzorOB <130201394+NafzorOB@users.noreply.github.com> Date: Sat, 1 Jul 2023 17:39:38 -0500 Subject: [PATCH 2/2] Fix for wrong url and bad identation --- srcpkgs/libdisplay-info/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/libdisplay-info/template b/srcpkgs/libdisplay-info/template index 2882e57238e2..796c7b57d0ef 100644 --- a/srcpkgs/libdisplay-info/template +++ b/srcpkgs/libdisplay-info/template @@ -8,10 +8,10 @@ short_desc="EDID and DisplayID library" maintainer="NafzorOB " license="MIT" homepage="https://gitlab.freedesktop.org/emersion/libdisplay-info" -changelog="https://github.com/dylanaraps/neofetch/releases/tag/${version}" -distfiles="${homepage}/-/archive/${version}/libdisplay-info-${version}.tar.gz" +changelog="https://gitlab.freedesktop.org/emersion/libdisplay-info/-/tags/${version}" +distfiles="https://gitlab.freedesktop.org/emersion/libdisplay-info/-/archive/${version}/libdisplay-info-${version}.tar.gz" checksum=a5aeef57817916286526292ec816a5338c4d3c0094ce91e584fc82b57070a44f post_install() { - vlicense LICENSE + vlicense LICENSE }