2010-12-15 00:26:29 +00:00
|
|
|
# Template file for 'gparted'
|
|
|
|
pkgname=gparted
|
2015-03-25 09:54:48 +00:00
|
|
|
version=0.22.0
|
2014-11-22 11:37:24 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-12-10 08:34:07 +00:00
|
|
|
configure_args="--enable-libparted-dmraid --sbindir=/usr/bin"
|
2015-01-29 17:36:42 +00:00
|
|
|
hostmakedepends="pkg-config intltool gnome-doc-utils"
|
|
|
|
makedepends="libuuid-devel libparted-devel gtkmm2-devel gnome-doc-utils"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="hicolor-icon-theme desktop-file-utils"
|
2010-12-15 00:26:29 +00:00
|
|
|
short_desc="Gnome Partition Editor"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-07-04 03:55:09 +00:00
|
|
|
homepage="http://gparted.sourceforge.net"
|
|
|
|
license="GPL-2"
|
2012-07-13 23:17:53 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
2015-03-25 09:54:48 +00:00
|
|
|
checksum=aa755e1a6e84c8eaac8b3c44416cbe9c202a4993ceaba22f293d20b83b2d6f27
|
2010-12-15 00:26:29 +00:00
|
|
|
|
2013-12-10 08:34:07 +00:00
|
|
|
pre_configure() {
|
|
|
|
sed -i "s:@gksuprog@ @installdir@/gparted %f:@installdir@/gparted-pkexec %f:g" gparted.desktop.in.in
|
|
|
|
}
|
2012-01-26 13:21:58 +00:00
|
|
|
post_install() {
|
2013-12-10 08:34:07 +00:00
|
|
|
vinstall ${FILESDIR}/org.void.pkexec.gparted.policy 644 /usr/share/polkit-1/actions
|
2015-01-29 17:36:42 +00:00
|
|
|
vbin ${FILESDIR}/gparted-pkexec
|
2012-01-26 13:21:58 +00:00
|
|
|
}
|