forked from rosa/hakurei
418e4a874d
Signed-off-by: Ophestra <cat@gensokyo.uk>
29 lines
627 B
Go
29 lines
627 B
Go
package libpsl {
|
|
description = "provides functions to work with the Mozilla Public Suffix List";
|
|
website = "https://rockdaboot.github.io/libpsl";
|
|
anitya = 7305;
|
|
|
|
version# = "0.22.0";
|
|
source = remoteGitHubRelease {
|
|
suffix = "rockdaboot/libpsl";
|
|
tag = version;
|
|
name = "libpsl-"+version+".tar.gz";
|
|
checksum = "sYrq75kNAJvU5gA2gv2tFYIFbFFit6PuYuW1tYSgcsJsIUzwMJTodofsaEGq3iGf";
|
|
compress = gzip;
|
|
};
|
|
|
|
writable = true;
|
|
early = `
|
|
test_disable() { chmod +w "$2" && echo "$1" > "$2"; }
|
|
|
|
test_disable 'int main(){return 0;}' tests/test-is-public-builtin.c
|
|
`;
|
|
|
|
exec = make {};
|
|
|
|
inputs = [
|
|
pkg-config,
|
|
python,
|
|
];
|
|
}
|