summaryrefslogtreecommitdiffstats
path: root/common/mkpkg
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-15 18:11:59 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-15 18:11:59 +0000
commitf5a83a995930e07f31aa1dc057a1b0c2ee100e3d (patch)
tree3e6bd6c5c973b7a39153718433dd3849432ade1c /common/mkpkg
downloadtde-style-qtcurve-f5a83a995930e07f31aa1dc057a1b0c2ee100e3d.tar.gz
tde-style-qtcurve-f5a83a995930e07f31aa1dc057a1b0c2ee100e3d.zip
Added qtcuve theme engine
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kde-style-qtcurve@1090657 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'common/mkpkg')
-rwxr-xr-xcommon/mkpkg7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/mkpkg b/common/mkpkg
new file mode 100755
index 0000000..41cc3c6
--- /dev/null
+++ b/common/mkpkg
@@ -0,0 +1,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