mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-28 15:31:22 +00:00
3ed9505ea4
Makes it easy to modify a package and rebuild.
14 lines
183 B
Plaintext
14 lines
183 B
Plaintext
file=$pkg.tar.gz
|
|
url=$mirror/$file
|
|
|
|
# Fetch package
|
|
wget -c $url -O src/$file
|
|
|
|
# Unpack package
|
|
pushd src
|
|
[ -d $pkg ] || tar xzf $file
|
|
popd
|
|
|
|
# Install package
|
|
cp -r src/$pkg/* $root/
|