forked from rosa/hakurei
internal/rosa/package: migrate many libraries
This also adds more string helpers. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
25
internal/rosa/package/libpsl.az
Normal file
25
internal/rosa/package/libpsl.az
Normal file
@@ -0,0 +1,25 @@
|
||||
package libpsl {
|
||||
description = "provides functions to work with the Mozilla Public Suffix List";
|
||||
website = "https://rockdaboot.github.io/libpsl";
|
||||
anitya = 7305;
|
||||
|
||||
version* = "0.21.5";
|
||||
source = remoteGitHubRelease {
|
||||
suffix = "rockdaboot/libpsl";
|
||||
tag = version;
|
||||
name = "libpsl-"+version+".tar.gz";
|
||||
checksum = "XjfxSzh7peG2Vg4vJlL8z4JZJLcXqbuP6pLWkrGCmRxlnYUFTKNBqWGHCxEOlCad";
|
||||
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 = [ python ];
|
||||
}
|
||||
Reference in New Issue
Block a user