13 lines
256 B
Plaintext
13 lines
256 B
Plaintext
|
#!/bin/bash
|
||
|
aur(){
|
||
|
if [ -z "$1" ]; then
|
||
|
echo "aur: <package name to build and install>"
|
||
|
return 1
|
||
|
fi
|
||
|
sudo machinectl shell --setenv=INVOKER="${USER}@$(hostname)" builduser@builder /usr/bin/buildpkg $1
|
||
|
}
|
||
|
|
||
|
aur $*
|
||
|
|
||
|
# vim: set ft=sh
|