blob: bc96c4b62301dcf29376244cdd7f21f5b660a0fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/usr/bin/env -S bash ../.port_include.sh
port=citron
version=0.0.9.3
useconfigure=false
depends=(sparsehash libffi pcre)
commit_hash=d28b7d62bd61397e46152aa6e4ee59b115c0e2d7
archive_hash=0e31ab638c4fd1438f68fdf069336e2541eb4cfc5db2f55888f6175e0171a2ef
files="https://github.com/alimpfard/citron/archive/$commit_hash.tar.gz citron.tar.gz $archive_hash"
auth_type=sha256
workdir="citron-$commit_hash"
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
}
|