You are not logged in.
So when I tried to make a package, I always get a "make: *** No rule to make target 'install'. Stop." error. My PKGBUILD:
pkgname=xsystem35-sdl2
pkgver=2.14.3
pkgrel=1
pkgdesc="This is a multi-platform port of xsystem35, a free implementation of AliceSoft's System 3.x game engine."
arch=(x86_64)
url="https://github.com/kichikuou/xsystem35-sdl2"
license=('GPL')
depends=(gtk3 cmake sdl2 sdl2_ttf sdl2_mixer libwebp portmidi cjson asciidoctor)
source=(${url}/archive/refs/tags/v${pkgver}.zip)
sha256sums=('917f73d621f60f6592940ba0eb4a0627bef82d25f53774e5b40a082696527eb6')
prepare () {
cd "$srcdir/${pkgname}-${pkgver}"
}
build() {
cd "$srcdir/${pkgname}-${pkgver}"
mkdir -p out/debug
cd out/debug
cmake -DCMAKE_BUILD_TYPE=Debug ../../
make
}
package() {
make DESTDIR="${pkgdir}" install
}
The program compiled successfully, so idk what I'm supposed to do next. Pls help
Last edited by okbzl (2025-04-13 08:16:27)
Offline
I think you need to cd into the correct folder where the Makefile is.
Offline
It worked. Thanks
Offline