diff options
-rw-r--r-- | PKGBUILD | 10 | ||||
-rw-r--r-- | gringotts.install | 4 |
2 files changed, 5 insertions, 9 deletions
@@ -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 diff --git a/gringotts.install b/gringotts.install index 1a872fcf377d..b805b777e6c6 100644 --- a/gringotts.install +++ b/gringotts.install @@ -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. |