fontconfig 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. #!/usr/bin/env bash
  2. # Copyright (C) 2016 Paul Kocialkowski <contact@paulk.fr>
  3. #
  4. # This program is free software: you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation, either version 3 of the License, or
  7. # (at your option) any later version.
  8. #
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. # GNU General Public License for more details.
  13. #
  14. # You should have received a copy of the GNU General Public License
  15. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. arguments() {
  17. project_arguments_targets "$project" "$@"
  18. }
  19. usage() {
  20. project_usage_actions "$project"
  21. project_usage_arguments "$project" "$@"
  22. }
  23. download() {
  24. local repository="$project"
  25. project_download_git "$project" \
  26. "$repository" \
  27. 'https://anongit.freedesktop.org/git/fontconfig' \
  28. "$@"
  29. }
  30. download_check() {
  31. local repository="$project"
  32. project_download_check_git "$project" "$repository" "$@"
  33. }
  34. extract() {
  35. local repository="$project"
  36. project_extract "$project" "$@"
  37. }
  38. extract_check() {
  39. local repository="$project"
  40. project_extract_check "$project" "$@"
  41. }
  42. update() {
  43. local repository="$project"
  44. project_update_git "$project" "$repository" "$@"
  45. }
  46. update_check() {
  47. local repository="$project"
  48. project_update_check_git "$project" "$repository" "$@"
  49. }
  50. release() {
  51. local repository="$project"
  52. project_release_sources_git "$project" "$repository" "$@"
  53. }
  54. release_check() {
  55. local repository="$project"
  56. project_release_check_sources_git "$project" "$repository" "$@"
  57. }
  58. clean() {
  59. project_clean "$project" "$@"
  60. }