summaryrefslogtreecommitdiffstats
path: root/common/mkpkg
blob: 41cc3c687cbea0c2c920762a298285c7d8a5bfde (plain)
1
2
3
4
5
6
7
version=`grep "#define VERSION" config.h  | awk -F\" '{print $2}'`
packageName=`grep CPACK_PACKAGE_NAME CPackSourceConfig.cmake | grep -v "Package project name" | awk -F\" '{print $2}' | sed y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/`
maintainer=`grep $USER /etc/passwd | awk -F: '{print $5}'`

checkinstall --nodoc --pkgname="$packageName" --pkgversion="$version" \
             --pkgrelease="0" --exclude="/" --include=install_manifest.txt \
             --pakdir="/tmp/checkinstall-$packageName" sleep 1