Edited pkgbuilds

- removed "|| return 1"
This commit is contained in:
arcan1s
2013-09-28 21:51:57 +04:00
parent 9037091eb3
commit 4fa735804d
19 changed files with 93 additions and 103 deletions

View File

@ -22,13 +22,13 @@ build ()
fi
mkdir ${srcdir}/build && cd ${srcdir}/build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`\
-DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
../${_pkgname}/
make || return 1
make
}
package()
package()
{
cd ${srcdir}/build
make DESTDIR=${pkgdir} install || return 1
make DESTDIR=${pkgdir} install
}

View File

@ -8,16 +8,10 @@ EOF
post_upgrade()
{
cat << EOF
Update plasmoids...
EOF
kbuildsycoca4 > /dev/null 2>&1
post_install
}
post_remove()
{
cat << EOF
Update plasmoids...
EOF
kbuildsycoca4 > /dev/null 2>&1
post_install
}