2022-02-11 15:26:00 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=citron
|
|
|
|
version=0.0.9.3
|
|
|
|
useconfigure=false
|
2022-03-15 12:24:07 +00:00
|
|
|
depends=(sparsehash libffi pcre)
|
2022-02-13 13:36:03 +00:00
|
|
|
commit_hash=d28b7d62bd61397e46152aa6e4ee59b115c0e2d7
|
|
|
|
archive_hash=0e31ab638c4fd1438f68fdf069336e2541eb4cfc5db2f55888f6175e0171a2ef
|
|
|
|
files="https://github.com/alimpfard/citron/archive/$commit_hash.tar.gz citron.tar.gz $archive_hash"
|
2022-02-11 15:26:00 +00:00
|
|
|
auth_type=sha256
|
2022-02-13 13:36:03 +00:00
|
|
|
workdir="citron-$commit_hash"
|
2022-02-11 15:26:00 +00:00
|
|
|
|
|
|
|
pre_install() {
|
|
|
|
pushd "$workdir"
|
|
|
|
if [ -d Library/.git ]; then
|
|
|
|
git -C Library pull
|
|
|
|
else
|
|
|
|
rm -fr Library
|
|
|
|
git clone http://github.com/alimpfard/citron_standard_library Library
|
|
|
|
fi
|
|
|
|
popd
|
|
|
|
}
|