From c128234add7191a08e96f95b7993287810bf2e3f Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Sun, 28 Jul 2024 13:22:23 +0200 Subject: move files to OS specific folder --- arch/.gitignore | 4 ++++ arch/Makefile | 23 +++++++++++++++++++++++ arch/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 arch/.gitignore create mode 100644 arch/Makefile create mode 100644 arch/PKGBUILD (limited to 'arch') diff --git a/arch/.gitignore b/arch/.gitignore new file mode 100644 index 0000000..1255cd2 --- /dev/null +++ b/arch/.gitignore @@ -0,0 +1,4 @@ +* +!/.gitignore +!/Makefile +!/PKGBUILD diff --git a/arch/Makefile b/arch/Makefile new file mode 100644 index 0000000..0e463fe --- /dev/null +++ b/arch/Makefile @@ -0,0 +1,23 @@ +all: makepkg + +makepkg: makepkg-x86_64 makepkg-arm64 + +makepkg_x86_64: + CARCH="x86_64" /usr/bin/makepkg --sign + +makepkg_arm64: + CARCH="arm64" /usr/bin/makepkg --sign + +clean: clean-pkg clean-pkgdir clean-srcdir clean-src + +clean-pkg: + rm -vf goreleaser-chglog-bin-0.6.1-1-{x86_64,arm64}.pkg.tar.zst{,.sig} + +clean-pkgdir: + rm -vfr pkg/ + +clean-src: + rm -vf chglog_Linux_{x86_64,arm64}.tar.gz + +clean-srcdir: + rm -vfr src/ diff --git a/arch/PKGBUILD b/arch/PKGBUILD new file mode 100644 index 0000000..d56d214 --- /dev/null +++ b/arch/PKGBUILD @@ -0,0 +1,31 @@ +# vim:syntax=PKGBUILD:ts=4 +pkgname=goreleaser-chglog-bin +pkgver=0.6.1 +pkgrel=1 +pkgdesc='A simple to use, single-binary changelog generator with reproducible results' +arch=( 'x86_64' 'arm64' ) +url=https://github.com/goreleaser/chglog +license=( 'MIT' ) +groups=( 'packaging-tools' ) +#depends=() +#makedepends=() +#checkdepends=() +#optdepends=() +provides=( 'chglog' ) +conflicts=( 'goreleaser-chglog' ) +#replaces=() +options=( '!debug' ) +#backup=() +source_x86_64=( 'https://github.com/goreleaser/chglog/releases/download/v0.6.1/chglog_Linux_x86_64.tar.gz' ) +b2sums_x86_64=( + '537a0d6d39d45dfa7c4a8b37878e742aabc40cac23883ee9c56fa1961101abed3ac744a328977cd930779dbd382a134bde95ccbcfd712b2e99f462b808217e93' +) +source_arm64=( 'https://github.com/goreleaser/chglog/releases/download/v0.6.1/chglog_Linux_arm64.tar.gz' ) +b2sums_arm64=( + '504fe0d9217080b1b68ac9cff61741f5c7a2cb289eac4dcafd2e9c53921c8fc48f8cc558f39747180f91eec203c1f6e57b73ef30a1b731735611024e75f05038' +) + +package() { + install -Dvm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dvm0755 chglog "${pkgdir}/usr/bin/chglog" +} -- cgit v1.2.3