void-packages/srcpkgs/gparted/template

24 lines
877 B
Plaintext
Raw Normal View History

2010-12-15 01:26:29 +01:00
# Template file for 'gparted'
pkgname=gparted
2014-06-13 16:10:00 +02:00
version=0.19.0
2014-02-20 09:26:10 +01:00
revision=1
build_style=gnu-configure
2013-12-10 09:34:07 +01:00
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"
2010-12-15 01:26:29 +01:00
short_desc="Gnome Partition Editor"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-07-04 05:55:09 +02:00
homepage="http://gparted.sourceforge.net"
license="GPL-2"
2012-07-14 01:17:53 +02:00
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
2014-06-13 16:10:00 +02:00
checksum=d5ddafa1580e0cec834f63bf9e2c958b59fae700298a3edfe16a5c2438d18d15
2010-12-15 01:26:29 +01:00
2013-12-10 09:34:07 +01:00
pre_configure() {
sed -i "s:@gksuprog@ @installdir@/gparted %f:@installdir@/gparted-pkexec %f:g" gparted.desktop.in.in
}
2012-01-26 14:21:58 +01:00
post_install() {
2013-12-10 09:34:07 +01:00
vinstall ${FILESDIR}/org.void.pkexec.gparted.policy 644 /usr/share/polkit-1/actions
2012-01-26 14:21:58 +01:00
vinstall ${FILESDIR}/gparted-pkexec 755 usr/bin
}