Package Details: gog-spacechem

Git Clone URL: (read-only)
Package Base: gog-spacechem
Description: A puzzle game where you build elaborate chemical factories.
Upstream URL:
Licenses: custom
Submitter: jzhu
Maintainer: None
Last Packager: jzhu
Votes: 3
Popularity: 0.000000
First Submitted: 2016-08-12 15:46
Last Updated: 2017-01-19 07:35

Latest Comments

Feldmarshall commented on 2018-03-12 16:29

Some extra steps seem to be needed to make spacechem work on current Arch:

1) TERM=xterm to get rid of "System.Exception: Magic number is wrong: 542" (see

2) Remove Mono.Security.dll from game folder to fix "Could not load type of field 'System.Net.HttpWebRequest:tlsProvider' "

Tested with (installed by gog script, used this package only to get all dependecies - I'm lazy ;) )

wuischke commented on 2017-11-04 08:24

GOG offers downloads of now. Just updating the pkgver and checksum is not enough to make it work.

When unzipping, it asks to replace a file and when packaging, the lib directory seems to be missing:

$ makepkg
==> Making package: gog-spacechem (Sat Nov 4 09:19:58 CET 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found
-> Found gog-spacechem.desktop
-> Found gog-spacechem.patch
==> Validating source files with sha256sums... ... Passed
gog-spacechem.desktop ... Passed
gog-spacechem.patch ... Passed
==> Extracting sources...
-> Extracting with bsdtar
==> Starting prepare()...
warning []: 811791 extra bytes at beginning or within zipfile
(attempting to process anyway)
replace data/noarch/ [y]es, [n]o, [A]ll, [N]one, [r]ename: N
patching file data/noarch/game/
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat 'lib/': No such file or directory
==> ERROR: A failure occurred in package().

runical commented on 2017-01-12 22:01

There seems to be a typo in your prepare function. The patch line should be ./ instead of ../, or at least when building in a chroot.

jzhu commented on 2016-10-20 21:19

*grumble* dependencies *grumble*

Fixed. Thanks, @hakunamenta. :D

I'm trying to figure out how to dedup the prepackaged libraries in the installer and replace them with AUR packages, but it's a slow and arduous process.

If anyone can point me to another PKGBUILD that manages to do it, that would be great.

hakunamenta commented on 2016-10-20 19:26

Had to install lib32-sqlite to get it to work, otherwise works great!

jzhu commented on 2016-10-18 20:41

Updated with the new dependency. Thanks @yjerem!

yjerem commented on 2016-10-08 04:30

Had to install lib32-sdl_image to get it to work, otherwise works great!