Skip to content
This repository has been archived by the owner on May 31, 2018. It is now read-only.

Commit

Permalink
Add file documentation using makepkg style
Browse files Browse the repository at this point in the history
  • Loading branch information
ismaelgv committed Jan 29, 2017
1 parent 80b2041 commit c71c883
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libpacaur/cache.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/bash
#
# cache.sh - functions related to cache management
#

CleanCache() {
if [[ $SRCDEST ]]; then
[[ $count -eq 1 ]] && printf "\n%s\n %s\n" $"Sources to keep:" $"All development packages sources"
Expand Down
5 changes: 5 additions & 0 deletions libpacaur/checks.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/bash
#
# checks.sh - functions related to checking operations
#

IgnoreChecks() {
local checkaurpkgs checkaurpkgsAver checkaurpkgsQver i json
# global aurpkgs rmaurpkgs
Expand Down
5 changes: 5 additions & 0 deletions libpacaur/deps.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/bash
#
# deps.sh - functions related to dependency resolution
#

DepsSolver() {
local i aurpkgsname aurpkgsver aurpkgsaurver aurpkgsconflicts
# global aurpkgs aurpkgsnover aurpkgsproviders aurdeps deps json errdeps errdepsnover foreignpkgs repodeps depsAname depsAver depsAood depsQver
Expand Down
5 changes: 5 additions & 0 deletions libpacaur/info.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/bash
#
# info.sh - functions to query information
#

SearchAur() {
if [[ -z "$(grep -E "\-\-[r]?sort" <<< ${coweropts[@]})" ]]; then
[[ $sortorder = descending ]] && coweropts+=("--rsort=$sortby") || coweropts+=("--sort=$sortby");
Expand Down
5 changes: 5 additions & 0 deletions libpacaur/main.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/bash
#
# main.sh - functions related to top level operations
#

Core() {
GetIgnoredPkgs
[[ $upgrade ]] && UpgradeAur
Expand Down
5 changes: 5 additions & 0 deletions libpacaur/pkgs.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/bash
#
# pkgs.sh - functions related to operations with packages
#

ClassifyPkgs() {
local noaurpkgs norepopkgs
# global aurpkgs repopkgs
Expand Down
5 changes: 5 additions & 0 deletions libpacaur/utils.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/bash
#
# utils.sh - utility functions
#

Proceed() {
local Y y N n answer
Y="$(gettext pacman Y)"; y="${Y,,}";
Expand Down

0 comments on commit c71c883

Please sign in to comment.