From c93d67e7a4a984202fec7c0dd8056e4814a5f6e6 Mon Sep 17 00:00:00 2001 From: Bob Hepple Date: Sat, 12 Aug 2023 17:44:51 +1000 Subject: [PATCH 1/3] Create template --- srcpkgs/gdcalc/template | 1 + 1 file changed, 1 insertion(+) create mode 100644 srcpkgs/gdcalc/template diff --git a/srcpkgs/gdcalc/template b/srcpkgs/gdcalc/template new file mode 100644 index 0000000000000..8b137891791fe --- /dev/null +++ b/srcpkgs/gdcalc/template @@ -0,0 +1 @@ + From 94a6fbbd41b27e987dbf12809aae62b2812338b3 Mon Sep 17 00:00:00 2001 From: Bob Hepple Date: Sat, 12 Aug 2023 17:45:31 +1000 Subject: [PATCH 2/3] Update template --- srcpkgs/gdcalc/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/srcpkgs/gdcalc/template b/srcpkgs/gdcalc/template index 8b137891791fe..491a8b2623f7a 100644 --- a/srcpkgs/gdcalc/template +++ b/srcpkgs/gdcalc/template @@ -1 +1,27 @@ +# Template file for 'gdcalc' +pkgname=gdcalc +version=3.4 +revision=1 +archs="x86_64" +#build_wrksrc= +build_style=gnu-configure +#configure_args="" +#make_build_args="" +#make_install_args="" +#conf_files="" +#make_dirs="/var/log/dir 0755 root root" +hostmakedepends="automake pkg-config libtool bison" +makedepends="ncurses-devel gtk+3-devel" +depends="units" +short_desc="Financial, statistics, scientific and programmers calculator for GTK+" +maintainer="Bob Hepple " +license="GPL-2.0-only" +homepage="https://gitlab.com/wef/gdcalc" +#changelog="" +distfiles="https://gitlab.com/wef/gdcalc/-/archive/${version}/${pkgname}-${version}.tar.gz" +checksum=c6d10a78e00c6d2d1f79771563fe1be6080d0d36e459451e1ab47dd935e7b4db +pre_configure() { + ./autogen.sh + vlicense COPYING LICENSE +} From c2272e44b7be8b02200319ca23bd1d84f64b9476 Mon Sep 17 00:00:00 2001 From: Bob Hepple Date: Sat, 12 Aug 2023 21:44:20 +1000 Subject: [PATCH 3/3] gdcalc: response to PR review gdcalc: remove GPL-2 license file and commented lines per response to PR --- srcpkgs/gdcalc/template | 8 -------- 1 file changed, 8 deletions(-) diff --git a/srcpkgs/gdcalc/template b/srcpkgs/gdcalc/template index 491a8b2623f7a..aa9942b290cea 100644 --- a/srcpkgs/gdcalc/template +++ b/srcpkgs/gdcalc/template @@ -3,13 +3,7 @@ pkgname=gdcalc version=3.4 revision=1 archs="x86_64" -#build_wrksrc= build_style=gnu-configure -#configure_args="" -#make_build_args="" -#make_install_args="" -#conf_files="" -#make_dirs="/var/log/dir 0755 root root" hostmakedepends="automake pkg-config libtool bison" makedepends="ncurses-devel gtk+3-devel" depends="units" @@ -17,11 +11,9 @@ short_desc="Financial, statistics, scientific and programmers calculator for GTK maintainer="Bob Hepple " license="GPL-2.0-only" homepage="https://gitlab.com/wef/gdcalc" -#changelog="" distfiles="https://gitlab.com/wef/gdcalc/-/archive/${version}/${pkgname}-${version}.tar.gz" checksum=c6d10a78e00c6d2d1f79771563fe1be6080d0d36e459451e1ab47dd935e7b4db pre_configure() { ./autogen.sh - vlicense COPYING LICENSE }