13 lines
256 B
Bash
Executable File
13 lines
256 B
Bash
Executable File
#!/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
|