summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2023-05-15 00:29:42 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2023-05-15 00:29:52 +0200
commit6a9aa27773bcdff8d50928dc7fa809b6ea56d937 (patch)
treeb4c77eb2d79fd1043a9e85f357c73440a51998b1
parent97da821ad36e7262cb7341281668797cbdaf5ca7 (diff)
Revert "hello: remove root and daemon requirements"
This reverts commit 97da821ad36e7262cb7341281668797cbdaf5ca7. This commit only created a tarball without the json file. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--hello/PKGBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/hello/PKGBUILD b/hello/PKGBUILD
index 520f72e..266e293 100644
--- a/hello/PKGBUILD
+++ b/hello/PKGBUILD
@@ -4,16 +4,12 @@
# Maintainer: Parabola Hackers <dev@lists.parabola.nu>
pkgname="hello"
pkgver=2.12.1
-pkgrel=1
+pkgrel=2
pkgdesc="GNU Hello (example GNU package)"
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=('buildah'
- 'coreutils'
- 'make'
- 'xz')
source=("https://ftp.gnu.org/gnu/hello/${pkgname}-${pkgver}.tar.gz"{,.sig}
'Dockerfile'
'GPL.txt'
@@ -35,7 +31,10 @@ build(){
./configure --prefix=/ LDFLAGS=-static
make
- buildah build -f Dockerfile -t hello -o type=tar,dest=hello.tar
+ sudo docker build --tag=hello .
+ sudo docker 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
}