gringotts-1.2.10-2

This commit is contained in:
Jaroslav Lichtblau 2014-12-04 11:05:34 +01:00
parent 8ae6dd5c3e
commit 0a8aa76601
2 changed files with 5 additions and 9 deletions

View file

@ -22,20 +22,20 @@ build() {
./configure --prefix=/usr
#patching source code and the gringotts.desktop file
patch -Np0 -i "${srcdir}"/$pkgname.diff
patch -Np0 -i "${srcdir}"/desktopfile.diff
make
}
package() {
cd "${srcdir}"/$pkgname-$pkgver
#patching source code and the gringotts.desktop file
patch -Np0 -i "${srcdir}"/$pkgname.diff
patch -Np0 -i "${srcdir}"/desktopfile.diff
make DESTDIR="${pkgdir}" install
#.desktop file
install -D -m644 $pkgname.desktop "${pkgdir}"/usr/share/applications/$pkgname.desktop
install -Dm644 $pkgname.desktop "${pkgdir}"/usr/share/applications/$pkgname.desktop
#adding suid bit to the executable
chmod u+s "${pkgdir}"/usr/bin/$pkgname

View file

@ -1,17 +1,13 @@
# arg 1: the new package version
post_install() {
cat <<EOF
>> To make gringotts work, the soft- and hard-memory limits need to be raised. Please read '/usr/share/doc/gringotts/README' for detailed information.
EOF
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
post_install $1
}
# arg 1: the old package version
post_remove() {
cat <<EOF
>> Check your '/etc/security/limits.conf' file for any changes made for the gringotts package. If you will not use this software in the future, those changes can be deleted.