From 00804bf11500bba0d4bc8348c577310f2738380c Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Thu, 24 Feb 2022 14:00:40 +0100 Subject: [PATCH] Fix for broken PKGBUILD --- Makefile | 2 +- PKGBUILD | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 9debf8c..7b0fb1b 100644 --- a/Makefile +++ b/Makefile @@ -97,4 +97,4 @@ v/v: make -C v clean: - rm -rf 'data' 'vieter' 'dvieter' 'pvieter' 'vieter.c' 'dvieterctl' 'vieterctl' + rm -rf 'data' 'vieter' 'dvieter' 'pvieter' 'vieter.c' 'dvieterctl' 'vieterctl' 'pkg' 'src/vieter' diff --git a/PKGBUILD b/PKGBUILD index a8426dc..8926a63 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgbase='vieter' pkgname=('vieter' 'vieterctl') pkgver=0.1.0.rc1.r45.g6d3ff8a pkgrel=1 -depends=('openssl' 'libarchive' 'gc') +depends=('glibc' 'openssl' 'libarchive' 'gc') arch=('x86_64' 'aarch64' 'armv7') url='https://git.rustybever.be/Chewing_Bever/vieter' license=('AGPL3') @@ -20,7 +20,7 @@ build() { cd "$pkgname" # Build the compiler - make v + CFLAGS= make v # Build the server & the CLI tool make prod @@ -30,11 +30,11 @@ build() { package_vieter() { install -dm755 "$pkgdir/usr/bin" - install -Dm755 "$pkgname/pvieter" "$pkgdir/usr/bin/vieter" + install -Dm755 "$pkgbase/pvieter" "$pkgdir/usr/bin/vieter" } package_vieterctl() { install -dm755 "$pkgdir/usr/bin" - install -Dm755 "$pkgname/vieterctl" "$pkgdir/usr/bin/vieterctl" + install -Dm755 "$pkgbase/vieterctl" "$pkgdir/usr/bin/vieterctl" }