You are not logged in.

#1 2025-06-23 03:04:23

hanss
Member
Registered: 2025-06-16
Posts: 20

Please review PKGBUILD for educational programming game laby

https://sgimenez.github.io/laby/

There is an outdated -git version in AUR which I used as a starting point:
https://aur.archlinux.org/packages/laby-git

There is one weird thing -- the top level directory in the downloaded .tar.gz is laby-laby-0.7.0 rather than just laby-0.7.0:

pkgname=laby
pkgver=0.7.0
pkgrel=1
pkgdesc="Learn programming, playing with ants and spider webs"
arch=('x86_64')
url="https://sgimenez.github.io/laby/"
license=('GPL-3.0-or-later')
depends=('lablgtk3')
makedepends=('git' 'ocamlbuild' 'ocaml-findlib')
source=(https://github.com/sgimenez/laby/archive/refs/tags/laby-${pkgver}.tar.gz)
md5sums=('SKIP')

build () {
  cd "laby-$pkgname-$pkgver"
  make
}

package() {
  cd "laby-$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}

Offline

#2 2025-06-23 03:30:26

hanss
Member
Registered: 2025-06-16
Posts: 20

Re: Please review PKGBUILD for educational programming game laby

Sorry, meant to post this in "Creating & Modifying Packages".

Offline

#3 2025-06-23 09:10:11

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,862

Re: Please review PKGBUILD for educational programming game laby

hanss wrote:

Sorry, meant to post this in "Creating & Modifying Packages".

Please use the report button (bottom right) to contact moderator team and request moving a post.

Moderator Note :
Moving to Creating & Modifying Packages as implicitly asked.


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

Offline

Board footer

Powered by FluxBB