pkg(brainfuck-1.0.0): embed source in build script

Apparently the source host doesn't download consistently,
so we just include the source code within the build script - its ~2kb so its fine.
This commit is contained in:
Thomas Hobson 2021-03-17 21:43:39 +13:00
parent 3112c808d8
commit 34132b211d
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
curl -L "http://mazonka.com/brainf/bff4.c" -o bff4.c echo 'H4sIAAAAAAAAA61XS4/iRhA+m19Rw2gHG9uMiaIcBoyUaKVcNrtSFCkHgqLGbqBnbXfLNjs7nuW/p6ofxjCzh5VyAOzqenz1bu6nI/ikWlGKTlR72NZMVLtj9hlEqQpe8qplrZAVyB3kghU8a2HLGp4D0kbwnlWCF5MG8u1OgN9wDuNf4Quvn6E5yLqFhhe7WFQtr1XN8XscjEbw10E0MCDCgTWor3jGL44H6tg+gKrlvmYlsCo3JGgltAeOVt3RgX3hRN1ytKNYzVrE9STaA9wAn+1nMI5mN2yM/GisgQmboG0JxwaNtKjUYGBZK1BPKXMOijUth2d5rM/2G2N+5oC7g4xVZDmTpRKFM/zx04ePf0LJslpCznei4vlsZKm5aNi24OiqiXcf2ALZWA2FlKoB/+nAaw6T5WqCkS5YlfE8iIw/63gVrsJwudyg0g9nKUBYGJoK+FeeHSkK6BzFEr1RBPxTwffwB+tk9ZnBz/CeZ/BTkvwCcGhb9XB/X5qjGTpzj+xT/LoVVVYcMSbLps0LsZ0dVpc0Ia9JGOY90Ubts+LoPZqvj1gw/0o1ehl5GG2sCrFrI3R6tzCEKeQRNB2+nZmRuJf2PLO/Yi8jG6iz5DbCDwmfMKaL0eiLFLnJtlQ+6ekCZ/gRpfTJzh9LlU7GAanZ+XCDdrND7Y+XqzAeR128ygIIwPG+y8aRnx1YHegTFNrJ2ofHNFnA4xJpGgA8hiEKvS2Vb9ePm2Bgf2LCkL7LKRD0s5f0/QLjked5hMHGCZ+QQ/9iAOAN871xlOyt56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