Added gksu-2.0.2 build template.
--HG-- extra : convert_revision : a1058c6ad65f5092d4c62d4d4f46b3642db25d42
This commit is contained in:
parent
cc6fe65656
commit
c0142e220c
1 changed files with 12 additions and 1 deletions
|
@ -1,9 +1,10 @@
|
|||
# Template file for 'gksu'
|
||||
pkgname=gksu
|
||||
version=2.0.2
|
||||
revision=1
|
||||
distfiles="http://people.debian.org/~kov/gksu/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--disable-static --disable-gtk-doc --localstatedir=/var"
|
||||
configure_args="--disable-gtk-doc --localstatedir=/var"
|
||||
short_desc="GTK+ frontend to su and sudo commands"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=a1de3dca039d88c195fcdc9516379439a1d699750417f1e655aa2101a955ee5a
|
||||
|
@ -44,3 +45,13 @@ Add_dependency build fontconfig-devel
|
|||
|
||||
Add_dependency full sudo
|
||||
Add_dependency full desktop-file-utils
|
||||
|
||||
post_install()
|
||||
{
|
||||
rm -vf ${DESTDIR}/usr/lib/nautilus/extensions-2.0/*.a
|
||||
sed -i -e "s|/usr/bin/x-terminal-emulator|-l gnome-terminal|g" \
|
||||
${DESTDIR}/usr/share/applications/gksu.desktop
|
||||
echo "TryExec=gnome-terminal" >> \
|
||||
${DESTDIR}/usr/share/applications/gksu.desktop
|
||||
chmod 644 ${DESTDIR}/usr/share/applications/gksu.desktop
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue