[arch-commits] Commit in distrobuilder/repos/community-testing-x86_64 (2 files)

George Rawlinson grawlinson at gemini.archlinux.org
Mon May 2 22:12:41 UTC 2022


    Date: Monday, May 2, 2022 @ 22:12:41
  Author: grawlinson
Revision: 1192347

archrelease: copy trunk to community-testing-x86_64

Added:
  distrobuilder/repos/community-testing-x86_64/PKGBUILD
    (from rev 1192346, distrobuilder/trunk/PKGBUILD)
Deleted:
  distrobuilder/repos/community-testing-x86_64/PKGBUILD

----------+
 PKGBUILD |  126 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-02 22:10:30 UTC (rev 1192346)
+++ PKGBUILD	2022-05-02 22:12:41 UTC (rev 1192347)
@@ -1,63 +0,0 @@
-# Maintainer: George Rawlinson <george at rawlinson.net.nz>
-# Contributor: graysky <graysky AT archlinux DOT us>
-# Contributor: Stéphane Graber <stgraber AT ubuntu DOT com>
-
-pkgname=distrobuilder
-pkgver=2.0
-pkgrel=3
-pkgdesc='System container image builder for LXC and LXD'
-arch=('x86_64')
-url='https://github.com/lxc/distrobuilder'
-license=('Apache')
-depends=(
-  'rsync'
-  'squashfs-tools'
-  'gnupg'
-  'debootstrap'
-  'dosfstools'
-  'gptfdisk'
-  'qemu-img'
-  'e2fsprogs'
-  'btrfs-progs'
-)
-makedepends=('go' 'git')
-source=("$url/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"{,.asc})
-sha512sums=('9007200845ca0b2b3964eb492abe9fb5e8fecfcba0f829c8e0f22a4e0d73ffed5c8e620694193822e2bc6d07ef9ba48b873a21203998d3b149e06ee6fbf24c23'
-            'SKIP')
-b2sums=('8ad432a65ed1416c22eb674684fc3b93c7f6cba4045ba79706d7c810670187e50424b725f3d189b8e2019ee992901ace3ed4035827aa5a67dfbfb008e3dc4771'
-        'SKIP')
-validpgpkeys=('602F567663E593BCBD14F338C638974D64792D67') # Stéphane Graber <stgraber at stgraber.org>
-
-prepare() {
-  cd "$pkgname-$pkgver"
-
-  # create folder for build output
-  mkdir build
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  # set Go flags
-  export CGO_CPPFLAGS="$CPPFLAGS"
-  export CGO_CFLAGS="$CFLAGS"
-  export CGO_CXXFLAGS="$CXXFLAGS"
-  export CGO_LDFLAGS="$LDFLAGS"
-  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=vendor -modcacherw"
-
-  # verify modules
-  go mod verify
-
-  # build binary
-  go build -v -o build ./...
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  go test -v ./...
-  go vet -v ./...
-}
-
-package() {
-  install -vDm755 -t "$pkgdir/usr/bin" "$pkgname-$pkgver/build/$pkgname"
-}

Copied: distrobuilder/repos/community-testing-x86_64/PKGBUILD (from rev 1192346, distrobuilder/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-02 22:12:41 UTC (rev 1192347)
@@ -0,0 +1,63 @@
+# Maintainer: George Rawlinson <george at rawlinson.net.nz>
+# Contributor: graysky <graysky AT archlinux DOT us>
+# Contributor: Stéphane Graber <stgraber AT ubuntu DOT com>
+
+pkgname=distrobuilder
+pkgver=2.1
+pkgrel=1
+pkgdesc='System container image builder for LXC and LXD'
+arch=('x86_64')
+url='https://github.com/lxc/distrobuilder'
+license=('Apache')
+depends=(
+  'rsync'
+  'squashfs-tools'
+  'gnupg'
+  'debootstrap'
+  'dosfstools'
+  'gptfdisk'
+  'qemu-img'
+  'e2fsprogs'
+  'btrfs-progs'
+)
+makedepends=('go' 'git')
+source=("$url/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"{,.asc})
+sha512sums=('80184d27305f5659f1367563161220b966b1957810da61e8f3b9f32cf408795319b43dd650bc9f867b3ac73ef2b3251972bb11999d92feb34bfd9cdae7ff7b7b'
+            'SKIP')
+b2sums=('90e82a20a3ef61d13148951956bb1f74cc3494ca86e339c188a1c9009dcb27c0cb9a298c639c6de891df67915b48d107557f6b698a45cbe35c54d41a45bac1ab'
+        'SKIP')
+validpgpkeys=('602F567663E593BCBD14F338C638974D64792D67') # Stéphane Graber <stgraber at stgraber.org>
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # create folder for build output
+  mkdir build
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  # set Go flags
+  export CGO_CPPFLAGS="$CPPFLAGS"
+  export CGO_CFLAGS="$CFLAGS"
+  export CGO_CXXFLAGS="$CXXFLAGS"
+  export CGO_LDFLAGS="$LDFLAGS"
+  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=vendor -modcacherw"
+
+  # verify modules
+  go mod verify
+
+  # build binary
+  go build -v -o build ./...
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  go test -v ./...
+  go vet -v ./...
+}
+
+package() {
+  install -vDm755 -t "$pkgdir/usr/bin" "$pkgname-$pkgver/build/$pkgname"
+}



More information about the arch-commits mailing list