mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 03:27:02 -07:00
Updated PKGBUILD to remove existing module links
This commit is contained in:
parent
341f0752a3
commit
7570f48cad
1 changed files with 11 additions and 1 deletions
12
dist/archlinux/PKGBUILD
vendored
12
dist/archlinux/PKGBUILD
vendored
|
|
@ -1,6 +1,6 @@
|
||||||
# Maintainer: David J. Allen <davidallendj@gmail.com>
|
# Maintainer: David J. Allen <davidallendj@gmail.com>
|
||||||
pkgname=gdpm-git
|
pkgname=gdpm-git
|
||||||
pkgver=r86.a6635b1
|
pkgver=r94.341f075
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="CLI tool to automate managing Godot game engine assets from the command-line. This includes a pre-built, static binary."
|
pkgdesc="CLI tool to automate managing Godot game engine assets from the command-line. This includes a pre-built, static binary."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|
@ -19,6 +19,12 @@ pkgver() {
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
|
# remove all links to modules
|
||||||
|
rm -f include/argparse
|
||||||
|
rm -f include/tabulate
|
||||||
|
rm -f include/indicators
|
||||||
|
rm -f include/csv2
|
||||||
|
|
||||||
# update and initialize submodules
|
# update and initialize submodules
|
||||||
git submodule update --init modules/argparse
|
git submodule update --init modules/argparse
|
||||||
git submodule update --init modules/tabulate
|
git submodule update --init modules/tabulate
|
||||||
|
|
@ -44,3 +50,7 @@ package() {
|
||||||
mkdir -p "${pkgdir}/usr/bin"
|
mkdir -p "${pkgdir}/usr/bin"
|
||||||
install -m755 build/gdpm.static "${pkgdir}/usr/bin/gdpm"
|
install -m755 build/gdpm.static "${pkgdir}/usr/bin/gdpm"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
clean() {
|
||||||
|
rm -rf "$srcdir/$pkgname-$pkgver"
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue