Fix for broken PKGBUILD
parent
d5c1366d65
commit
00804bf115
2
Makefile
2
Makefile
|
@ -97,4 +97,4 @@ v/v:
|
||||||
make -C v
|
make -C v
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf 'data' 'vieter' 'dvieter' 'pvieter' 'vieter.c' 'dvieterctl' 'vieterctl'
|
rm -rf 'data' 'vieter' 'dvieter' 'pvieter' 'vieter.c' 'dvieterctl' 'vieterctl' 'pkg' 'src/vieter'
|
||||||
|
|
8
PKGBUILD
8
PKGBUILD
|
@ -4,7 +4,7 @@ pkgbase='vieter'
|
||||||
pkgname=('vieter' 'vieterctl')
|
pkgname=('vieter' 'vieterctl')
|
||||||
pkgver=0.1.0.rc1.r45.g6d3ff8a
|
pkgver=0.1.0.rc1.r45.g6d3ff8a
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
depends=('openssl' 'libarchive' 'gc')
|
depends=('glibc' 'openssl' 'libarchive' 'gc')
|
||||||
arch=('x86_64' 'aarch64' 'armv7')
|
arch=('x86_64' 'aarch64' 'armv7')
|
||||||
url='https://git.rustybever.be/Chewing_Bever/vieter'
|
url='https://git.rustybever.be/Chewing_Bever/vieter'
|
||||||
license=('AGPL3')
|
license=('AGPL3')
|
||||||
|
@ -20,7 +20,7 @@ build() {
|
||||||
cd "$pkgname"
|
cd "$pkgname"
|
||||||
|
|
||||||
# Build the compiler
|
# Build the compiler
|
||||||
make v
|
CFLAGS= make v
|
||||||
|
|
||||||
# Build the server & the CLI tool
|
# Build the server & the CLI tool
|
||||||
make prod
|
make prod
|
||||||
|
@ -30,11 +30,11 @@ build() {
|
||||||
package_vieter() {
|
package_vieter() {
|
||||||
install -dm755 "$pkgdir/usr/bin"
|
install -dm755 "$pkgdir/usr/bin"
|
||||||
|
|
||||||
install -Dm755 "$pkgname/pvieter" "$pkgdir/usr/bin/vieter"
|
install -Dm755 "$pkgbase/pvieter" "$pkgdir/usr/bin/vieter"
|
||||||
}
|
}
|
||||||
|
|
||||||
package_vieterctl() {
|
package_vieterctl() {
|
||||||
install -dm755 "$pkgdir/usr/bin"
|
install -dm755 "$pkgdir/usr/bin"
|
||||||
|
|
||||||
install -Dm755 "$pkgname/vieterctl" "$pkgdir/usr/bin/vieterctl"
|
install -Dm755 "$pkgbase/vieterctl" "$pkgdir/usr/bin/vieterctl"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue