Scripts: Remove PKGBUILD · stenzek/duckstation@30df16c

1 min read Original article ↗
Original file line numberDiff line numberDiff line change

@@ -35,6 +35,14 @@ if(ALLOW_INSTALL)

3535

endif()

3636

endif()

3737
38+

# Refuse to build in Arch package environments. My license does not allow for packages, and I'm sick of

39+

# dealing with people complaining about things broken by packagers. This is why we can't have nice things.

40+

if(DEFINED ENV{DEBUGINFOD_URLS})

41+

if($ENV{DEBUGINFOD_URLS} MATCHES ".*archlinux.*")

42+

message(FATAL_ERROR "Unsupported environment.")

43+

endif()

44+

endif()

45+
3846

if(DEFINED HOST_MIN_PAGE_SIZE AND DEFINED HOST_MAX_PAGE_SIZE)

3947

message(STATUS "Building with a dynamic page size of ${HOST_MIN_PAGE_SIZE} - ${HOST_MAX_PAGE_SIZE} bytes.")

4048

elseif(DEFINED HOST_PAGE_SIZE)