diff options
author | Yigit Sever | 2024-09-09 09:27:03 +0200 |
---|---|---|
committer | Yigit Sever | 2024-09-09 09:27:03 +0200 |
commit | 65b87ef715b7cc2dcb719125ac4514bbf035d0e6 (patch) | |
tree | ea45860dd2c1bbe2522065588b7be4bef516c016 | |
parent | 1e068b7916649eb72063447dda5d9bedb446e884 (diff) | |
download | packages-65b87ef715b7cc2dcb719125ac4514bbf035d0e6.tar.gz packages-65b87ef715b7cc2dcb719125ac4514bbf035d0e6.tar.bz2 packages-65b87ef715b7cc2dcb719125ac4514bbf035d0e6.zip |
Deleted package: helmsman
-rw-r--r-- | helmsman/.SRCINFO | 18 | ||||
-rw-r--r-- | helmsman/.gitignore | 6 | ||||
-rw-r--r-- | helmsman/PKGBUILD | 47 |
3 files changed, 0 insertions, 71 deletions
diff --git a/helmsman/.SRCINFO b/helmsman/.SRCINFO deleted file mode 100644 index 357fbee..0000000 --- a/helmsman/.SRCINFO +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | pkgbase = helmsman | ||
2 | pkgdesc = Helm Charts as Code | ||
3 | pkgver = 3.17.0 | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/Praqma/helmsman | ||
6 | arch = x86_64 | ||
7 | arch = i686 | ||
8 | license = MIT | ||
9 | makedepends = go | ||
10 | depends = helm | ||
11 | depends = helm-diff | ||
12 | depends = kubectl | ||
13 | optdepends = ruby-hiera-eyaml: backend for secret encryption | ||
14 | optdepends = helm-secrets: backend for secret encryption | ||
15 | source = helmsman-3.17.0.tar.gz::https://github.com/Praqma/helmsman/archive/v3.17.0/helmsman-3.17.0.tar.gz | ||
16 | sha256sums = 44d15058a2421b9b274c1c15946f154d4178adff3d1be79218fe0acba7ebf1f1 | ||
17 | |||
18 | pkgname = helmsman | ||
diff --git a/helmsman/.gitignore b/helmsman/.gitignore deleted file mode 100644 index f1ecb61..0000000 --- a/helmsman/.gitignore +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | /pkg/ | ||
2 | /src/ | ||
3 | /*.log | ||
4 | /*.tar.gz | ||
5 | /*.pkg.tar* | ||
6 | /*.src.tar* | ||
diff --git a/helmsman/PKGBUILD b/helmsman/PKGBUILD deleted file mode 100644 index 9687833..0000000 --- a/helmsman/PKGBUILD +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | # Contributor: ml <ml@visu.li> | ||
3 | # to build in clean chroot build helm-diff from AUR, then pass to build cmd: | ||
4 | # $ extra-x86_64-build -- -I helm-diff-3.1.3-2-x86_64.pkg.tar.zst | ||
5 | |||
6 | pkgname=helmsman | ||
7 | pkgver=3.17.0 | ||
8 | pkgrel=1 | ||
9 | pkgdesc='Helm Charts as Code' | ||
10 | arch=('x86_64' 'i686') | ||
11 | url='https://github.com/Praqma/helmsman' | ||
12 | license=('MIT') | ||
13 | depends=('helm' 'helm-diff' 'kubectl') | ||
14 | optdepends=( | ||
15 | 'ruby-hiera-eyaml: backend for secret encryption' | ||
16 | 'helm-secrets: backend for secret encryption') | ||
17 | makedepends=('go') | ||
18 | source=("${pkgname}-${pkgver}.tar.gz::$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz") | ||
19 | sha256sums=('44d15058a2421b9b274c1c15946f154d4178adff3d1be79218fe0acba7ebf1f1') | ||
20 | |||
21 | build() { | ||
22 | cd "${pkgname}-${pkgver}" | ||
23 | export CGO_ENABLED=1 | ||
24 | export CGO_LDFLAGS="$LDFLAGS" | ||
25 | export CGO_CFLAGS="$CFLAGS" | ||
26 | export CGO_CPPFLAGS="$CPPFLAGS" | ||
27 | export CGO_CXXFLAGS="$CXXFLAGS" | ||
28 | export GOFLAGS='-buildmode=pie -modcacherw -mod=readonly -trimpath' | ||
29 | # man makepkg(8), https://github.com/Praqma/helmsman/blob/master/Makefile | ||
30 | TZ=UTC printf -v _date '%(%d%m%y)T' "${SOURCE_DATE_EPOCH:- -1}" | ||
31 | go build -ldflags "-linkmode=external -X main.version=v${pkgver}-${_date}" ./cmd/helmsman | ||
32 | } | ||
33 | |||
34 | check() { | ||
35 | cd "${pkgname}-${pkgver}" | ||
36 | go test -short ./... | ||
37 | } | ||
38 | |||
39 | package() { | ||
40 | cd "${pkgname}-${pkgver}" | ||
41 | install -Dm755 "${pkgname}" -t "${pkgdir}/usr/bin" | ||
42 | install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" | ||
43 | |||
44 | # README, docs and examples | ||
45 | install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname" | ||
46 | cp -a docs examples -t "$pkgdir/usr/share/doc/$pkgname" | ||
47 | } | ||