From 3c8442aacf7a2f37a0a4e9550cdf637a51f9f57d Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Sun, 28 Jul 2024 13:08:51 +0200 Subject: InComm --- Makefile | 23 +++++++++++++++++++++++ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 Makefile create mode 100644 PKGBUILD diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0e463fe --- /dev/null +++ b/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/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..d56d214 --- /dev/null +++ b/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