libICE: update and moved to /usr/lib
[nyanlinux.git] / pkg-build
blob8fb8be28ac72f7214b59934b9f74a682665f2d32
1 #!/bin/sh
2 if test -z "$1"; then
3 echo Missing package path to build
4 exit 1
5 fi
7 nyan_root=$(readlink -f $(dirname "$0"))
8 . ./conf.sh
9 mkdir -p $builds_dir_root
10 mkdir -p $pkgs_dir_root
12 pkg_name=$(basename $1)
13 pkg_path=$(dirname $1)
15 umask 022
17 . ./builders/$1/builder.sh "$@"
19 rmdir $(readlink -f $builds_dir_root)
20 rmdir $(readlink -f $pkgs_dir_root)