diff options
author | Mikhail f. Shiryaev | 2024-04-11 15:49:48 +0200 |
---|---|---|
committer | Mikhail f. Shiryaev | 2024-04-11 15:49:48 +0200 |
commit | 33ea1923a38fae9a738e791d57ec665e813f2255 (patch) | |
tree | 11a180ad35d56a90125ec4e923dc8ab9391ff7cf | |
parent | b580b2954a2e3988dd8a01d664a0c56f7a4ffe28 (diff) | |
download | aur-33ea1923a38fae9a738e791d57ec665e813f2255.tar.gz |
Make the package chroot-compatible
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 11 insertions, 2 deletions
@@ -5,9 +5,17 @@ pkgbase = oh-my-git-git url = https://ohmygit.org/ arch = x86_64 license = custom + makedepends = git makedepends = godot3 makedepends = godot3-export-templates + makedepends = xorg-server-xvfb makedepends = zip + depends = libglvnd + depends = libxcursor + depends = libxi + depends = libxinerama + depends = libxrandr + depends = libxrender source = oh-my-git-git::git+https://github.com/git-learning-game/oh-my-git.git source = oh-my-git source = oh-my-git.desktop @@ -7,7 +7,8 @@ pkgdesc='An interactive Git learning game!' arch=(x86_64) url='https://ohmygit.org/' license=(custom) -makedepends=(godot3 godot3-export-templates zip) +depends=(libglvnd libxcursor libxi libxinerama libxrandr libxrender) +makedepends=(git godot3 godot3-export-templates xorg-server-xvfb zip) source=("${pkgname}::git+https://github.com/git-learning-game/oh-my-git.git" oh-my-git oh-my-git.desktop @@ -43,7 +44,7 @@ build() { ln -sf --no-dereference /usr/share/godot/templates/"$godot_minor"* "$templates_dir/$godot_version" done # build game - HOME="${srcdir}" make linux + HOME="${srcdir}" xvfb-run make linux } package() { |