summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}