filesystem: Add agm2 macros.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
pkgname=filesystem
|
||||
pkgver=2015.04
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc='Base filesystem'
|
||||
arch=('i686' 'x86_64')
|
||||
license=('BSD')
|
||||
@@ -49,14 +49,14 @@ md5sums=('3b95f37af49beb642c8fe174dd1f63fc'
|
||||
'e32cd0cf441ce0e8c57f550b0d28b182'
|
||||
'7a8cf2e199bc046bcfed1fc75275b15c'
|
||||
'ff5b9ce40fb39b9c745f188bde6dabea'
|
||||
'162d83283cf4088f00dab39573eb2802'
|
||||
'061895b3b304f5b7552689df408e3086'
|
||||
'b0eb2ba1c1bc95e678309fd36dac27db'
|
||||
'60b98a16b10ca531034bb82ab56018b0'
|
||||
'62c83d220f0d5e0afe6532d7f0f55a66'
|
||||
'ba944a5704589a598920d2564853b009'
|
||||
'292ad5cdd78abac9d694cc06819a96fc'
|
||||
'b29485d6e832dce9b27a2c025b53bdd8'
|
||||
'cc8ed4d45d2971670cb6df1928dc8f23'
|
||||
'69032f71e69a70676444c21e358b6fa4'
|
||||
'118fa00617d4d0b2eb337dd565d44494'
|
||||
'39c1d2412eb62864c8c07cb2557c7da3'
|
||||
'3b6753667b61800db1a30c614efd1ee1'
|
||||
@@ -102,6 +102,7 @@ package() {
|
||||
install -m644 ${srcdir}/dot.inputrc etc/skel/.inputrc
|
||||
install -m644 ${srcdir}/dot.bash_profile etc/skel/.bash_profile
|
||||
install -m644 ${srcdir}/dot.bash_logout etc/skel/.bash_logout
|
||||
install -m644 ${srcdir}/dot.profile etc/skel/.profile
|
||||
|
||||
install -m644 ${srcdir}/profile.tzset.sh etc/profile.d/tzset.sh
|
||||
install -m644 ${srcdir}/profile.lang.sh etc/profile.d/lang.sh
|
||||
|
||||
@@ -27,3 +27,26 @@ if [ -n "${BASH_VERSION}" ]; then
|
||||
source "${HOME}/.bashrc"
|
||||
fi
|
||||
fi
|
||||
|
||||
agm2() {
|
||||
local MINGW_DIRS="mingw32 mingw64"
|
||||
local AG_FIND=
|
||||
|
||||
for dir in ${MINGW_DIRS}; do
|
||||
if type -p /${dir}/bin/ag >/dev/null; then
|
||||
AG_FIND=/${dir}/bin/ag
|
||||
fi
|
||||
done
|
||||
|
||||
if ! type -p /usr/bin/git >/dev/null; then
|
||||
echo "bash: git: command not found. Please install \"git\" package."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -n "$AG_FIND" ]; then
|
||||
$AG_FIND --makepkg --depth 1 "$@" $(git rev-parse --show-toplevel)
|
||||
else
|
||||
echo "bash: ag: conmmand not found. Please install \"mingw-w64-i686-ag\" or \"mingw-w64-x86_64-ag\" package."
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -133,6 +133,7 @@ fi
|
||||
|
||||
export PATH MANPATH INFOPATH PKG_CONFIG_PATH USER TMP TEMP PRINTER HOSTNAME PS1 SHELL tmp temp
|
||||
export TERM=xterm-256color
|
||||
unset PATH_SEPARATOR
|
||||
|
||||
if [ "$MAYBE_FIRST_START" = "true" ]; then
|
||||
sh /usr/bin/regen-info.sh
|
||||
|
||||
Reference in New Issue
Block a user