summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsamarthj2021-07-27 06:57:49 +0000
committersamarthj2021-07-27 06:57:49 +0000
commitc32c52bcfeac4197caa77cd5d55fe5e1264d6f14 (patch)
tree22397881f7cfa2600b163e2b6bbccd758792dd72
parent094c5375c5e7017567716b6baf4190b2560eb01f (diff)
parente86dc7ba8154623e0d32614f27ec3dab187f8f8e (diff)
downloadaur-c32c52bcfeac4197caa77cd5d55fe5e1264d6f14.tar.gz
upgpkg: \$pkgname \$pkgver-\$pkgrel
-rw-r--r--.SRCINFO10
-rw-r--r--.gitignore9
-rw-r--r--PKGBUILD23
3 files changed, 18 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 11588006639..7c136746f01 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = containers-common-git
pkgdesc = Configuration files and manpages for containers (git)
- pkgver = 0.41.1_dev.r1204.g71bd547
+ pkgver = 0.41.1_dev.r1222.g3b80ec4
pkgrel = 1
url = https://github.com/containers/common.git
arch = any
@@ -18,10 +18,10 @@ pkgbase = containers-common-git
backup = etc/containers/seccomp.json
backup = etc/containers/storage.conf
source = git+https://github.com/containers/common.git
- source = image.tar.gz::https://api.github.com/repos/containers/image/tarball
- source = podman.tar.gz::https://api.github.com/repos/containers/podman/tarball
- source = skopeo.tar.gz::https://api.github.com/repos/containers/skopeo/tarball
- source = storage.tar.gz::https://api.github.com/repos/containers/storage/tarball
+ source = git+https://github.com/containers/image.git
+ source = git+https://github.com/containers/podman.git
+ source = git+https://github.com/containers/skopeo.git
+ source = git+https://github.com/containers/storage.git
source = mounts.conf
sha256sums = SKIP
sha256sums = SKIP
diff --git a/.gitignore b/.gitignore
index b0058072a56..4c5f8429137 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
-*.tar.*
-src
-pkg
-common/
+/*
+!PKGBUILD
+!.SRCINFO
+!.gitignore
+!mounts.conf
diff --git a/PKGBUILD b/PKGBUILD
index 0c5a7e80029..4fc4bb21dec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,11 @@
# Maintainer: samarthj <dev@samarthj.com>
+# shellcheck disable=2034,2148,2154
+
pkgname=containers-common-git
_pkgname=containers-common
_gitpkgname=common
-pkgver=0.41.1_dev.r1204.g71bd547
+pkgver=0.41.1_dev.r1222.g3b80ec4
pkgrel=1
pkgdesc="Configuration files and manpages for containers (git)"
arch=('any')
@@ -11,7 +13,6 @@ makedepends=('go-md2man' 'git' 'libgpgme.so')
provides=("$_pkgname")
conflicts=("$_pkgname")
_baseurl="https://github.com/containers"
-_apiurl="https://api.github.com/repos/containers"
url="$_baseurl/$_gitpkgname.git"
license=(Apache)
backup=(
@@ -24,10 +25,10 @@ backup=(
)
options=('emptydirs')
source=("git+$url"
- "image.tar.gz::$_apiurl/image/tarball"
- "podman.tar.gz::$_apiurl/podman/tarball"
- "skopeo.tar.gz::$_apiurl/skopeo/tarball"
- "storage.tar.gz::$_apiurl/storage/tarball"
+ "git+$_baseurl/image.git"
+ "git+$_baseurl/podman.git"
+ "git+$_baseurl/skopeo.git"
+ "git+$_baseurl/storage.git"
'mounts.conf'
)
sha256sums=('SKIP'
@@ -44,20 +45,12 @@ pkgver() {
echo "${ver//-/_}.${commit}"
}
-prepare() {
- for i in {1..4}; do
- _tar="${source[$i]%%::*}"
- _dirname=$(bsdtar -tf "$_tar" | awk -F / '{print $1; exit}')
- mv "$_dirname" "${_tar%%.tar.gz}"
- done
-
+build() {
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
-}
-build() {
(
cd "common" || exit 1
make docs