fix: PKGBUILD and makefile and rename binary
This commit is contained in:
18
PKGBUILD
18
PKGBUILD
@@ -1,24 +1,22 @@
|
||||
pkgname=gsplash-git
|
||||
pkgver=0.1.0
|
||||
pkgrel=1
|
||||
pkgdesc="A lightweight SDL2 splash screen wrapper for game launchers."
|
||||
pkgdesc="A lightweight native SDL2 splash screen wrapper for game launchers."
|
||||
arch=('x86_64')
|
||||
depends=('sdl2' 'sdl2_image')
|
||||
makedepends=('make' 'gcc' 'pkgconf')
|
||||
source=('src/splash.c' 'Makefile')
|
||||
sha256sums=('SKIP' 'SKIP')
|
||||
|
||||
prepare() {
|
||||
mkdir -p "$srcdir/src"
|
||||
cp "$srcdir/splash.c" "$srcdir/src/"
|
||||
}
|
||||
# Leave this empty so makepkg doesn't look for external downloads or local copies
|
||||
source=()
|
||||
sha256sums=()
|
||||
|
||||
build() {
|
||||
cd "$srcdir"
|
||||
# Point directly to your active project folder where the Makefile lives
|
||||
cd "$startdir"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"
|
||||
cd "$startdir"
|
||||
make DESTDIR="$pkgdir" PREFIX="/usr" install
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user