void-packages/srcpkgs/gparted/template
2014-02-20 09:26:10 +01:00

24 lines
878 B
Text

# Template file for 'gparted'
pkgname=gparted
version=0.18.0
revision=1
build_style=gnu-configure
configure_args="--enable-libparted-dmraid --sbindir=/usr/bin"
hostmakedepends="pkg-config which intltool gnome-doc-utils"
makedepends="libuuid-devel libparted-devel gtkmm2-devel"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="Gnome Partition Editor"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://gparted.sourceforge.net"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=bf1f19f8f2ceb33ee9d4e65ffe8d261cf8dba35d31d9cbdaee479dbd34709e6a
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
vinstall ${FILESDIR}/gparted-pkexec 755 usr/bin
}