24 lines
879 B
Bash
24 lines
879 B
Bash
# Template file for 'gparted'
|
|
pkgname=gparted
|
|
version=0.28.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-libparted-dmraid --sbindir=/usr/bin"
|
|
hostmakedepends="pkg-config intltool gnome-doc-utils"
|
|
makedepends="libuuid-devel libparted-devel gtkmm2-devel gnome-doc-utils"
|
|
depends="hicolor-icon-theme desktop-file-utils"
|
|
short_desc="Gnome Partition Editor"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://gparted.sourceforge.net"
|
|
license="GPL-2"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=b9fd46398c50b9c11124c93c1d63ba8e91a4df0ab4afb14ca2275f67e0d53df1
|
|
|
|
pre_configure() {
|
|
sed -i "s:@gksuprog@ @installdir@/gparted %f:@installdir@/gparted-pkexec %f:g" gparted.desktop.in.in
|
|
}
|
|
post_install() {
|
|
vinstall ${FILESDIR}/org.void.pkexec.gparted.policy 644 /usr/share/polkit-1/actions
|
|
vbin ${FILESDIR}/gparted-pkexec
|
|
}
|