diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2023-08-03 14:04:58 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2023-08-03 14:06:59 +0200 |
commit | a5892e63b47b567d61a6c0c3757cbcade1181a7c (patch) | |
tree | 463c8d4b2ea6fd43b917545bbae7470b31c090b9 | |
parent | 6a9aa27773bcdff8d50928dc7fa809b6ea56d937 (diff) |
hello: switch to podman to build without a daemon
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | hello/PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hello/PKGBUILD b/hello/PKGBUILD index 266e293..e6a3fa8 100644 --- a/hello/PKGBUILD +++ b/hello/PKGBUILD @@ -10,6 +10,7 @@ arch=('x86_64') url='https://www.gnu.org/software/hello/' # We use static linking, so it includes the Glibc (GPL, LGPL) as well. license=('GPL' 'LGPL' 'GPL3') +makedepends=('podman') source=("https://ftp.gnu.org/gnu/hello/${pkgname}-${pkgver}.tar.gz"{,.sig} 'Dockerfile' 'GPL.txt' @@ -31,8 +32,8 @@ build(){ ./configure --prefix=/ LDFLAGS=-static make - sudo docker build --tag=hello . - sudo docker save -o hello.tar hello + sudo podman build --tag=hello . + sudo podman save -o hello.tar hello sudo chmod 777 hello.tar sudo chown "$(id -u):$(id -g)" hello.tar xz -f -9e --verbose -T 0 hello.tar |