Added gksu-2.0.2 build template.
--HG-- extra : convert_revision : a1058c6ad65f5092d4c62d4d4f46b3642db25d42
This commit is contained in:
parent
cc6fe65656
commit
c0142e220c
|
@ -1,9 +1,10 @@
|
||||||
# Template file for 'gksu'
|
# Template file for 'gksu'
|
||||||
pkgname=gksu
|
pkgname=gksu
|
||||||
version=2.0.2
|
version=2.0.2
|
||||||
|
revision=1
|
||||||
distfiles="http://people.debian.org/~kov/gksu/$pkgname-$version.tar.gz"
|
distfiles="http://people.debian.org/~kov/gksu/$pkgname-$version.tar.gz"
|
||||||
build_style=gnu_configure
|
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"
|
short_desc="GTK+ frontend to su and sudo commands"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=a1de3dca039d88c195fcdc9516379439a1d699750417f1e655aa2101a955ee5a
|
checksum=a1de3dca039d88c195fcdc9516379439a1d699750417f1e655aa2101a955ee5a
|
||||||
|
@ -44,3 +45,13 @@ Add_dependency build fontconfig-devel
|
||||||
|
|
||||||
Add_dependency full sudo
|
Add_dependency full sudo
|
||||||
Add_dependency full desktop-file-utils
|
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 New Issue