You are not logged in.
Hi,
I made a new package for this game (well, Allegro4 port from 2014 - and the original from 1993!).
I've never made a PKGBUILD. Any issues or oversights I should fix before submitting to the AUR?
# Maintainer: Ville Aakko <ville.aakko <AT> kapsi.fi>
pkgname="thelasteichhof"
pkgver="2.1W"
pkgrel=1
pkgdesc="The Last Eichhof, a game from 1993, Allegro4 port"
url="https://gitea.com/WildPenguin/TheLastEichhof/"
license=("GPL-3.0-or-later")
arch=('x86_64')
depends=('allegro4')
source=("https://gitea.com/WildPenguin/TheLastEichhof/archive/v${pkgver}.tar.gz")
sha256sums=('ed732c1e229ae26263d4ea7b0803d625b3c212361062d3081da85da531f9734f')
build() {
cd "$srcdir/$pkgname"
aclocal
automake --add-missing
autoconf
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install
}Cheers!
EDIT: I've added the license file, the README.md from the repo and made a small fix (I used sprintf in ways one is not supposed to). Feel free to try this, it's a blast from the past! https://aur.archlinux.org/packages/thelasteichhof
Last edited by Wild Penguin (2026-05-04 17:00:34)
Offline
You gave us very little time to respond before submitting it to AUR.
pkgdesc shouldn't include the name of the package. Something like 'eliminate competitors by shooting beer bottles, based on orginal game from 1993' would be better.
aclocal / automake & autoconf make changes to the source files and should be used in prepare() instead of build()
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Online
Lone_Wolf,
Thanks for the input.
Sorry for being a bit hasty! I'm a bit new to this.
I made the change and moved these to prepare().
Namcap is complaining about non-unique source name, which I can see, is obviously not that sane. I don't know why gitea (and github...) don't put a name to the file automatically. As I'm also the "upstream" I can definitely change this, too.
Offline
Looks good, one minor nitpick:
license=("GPL-3.0-or-later")For common licenses (like GPL-3.0-or-later), package licenses delivers all the corresponding files. The package is installed by default, as it is a dependency of base meta package, and the files may be found in /usr/share/licenses/spdx/
Keep LICENSE.GPL in the upstream source, but you don't have to install it in package() .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Online