void-packages/srcpkgs/gparted/template
2012-07-14 01:17:53 +02:00

35 lines
1.4 KiB
Text

# Template file for 'gparted'
pkgname=gparted
version=0.13.0
revision=1
build_style=gnu-configure
gtk_iconcache_dirs="/usr/share/icons/hicolor"
configure_args="--disable-scrollkeeper --enable-libparted-dmraid"
depends="hicolor-icon-theme desktop-file-utils polkit"
makedepends="pkg-config intltool libuuid-devel libparted-devel
gnome-doc-utils gtkmm2-devel"
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=4de9e79bf6ffd3b2065e86ea1e92171b825a57e66d86219c7ebd7eed282120b3
long_desc="
GParted is a free partition editor for graphically managing your disk
partitions.
GParted is useful for tasks such as: creating space for new operating
systems, restructuring disk space to separate user and operating system
data, and copying partitions to enable upgrading to a larger hard disk drive.
Your hard disk drive or USB flash drive can be subdivided into one or more
partitions. GParted enables you to reorganize your disk partitions while
preserving the contents of these partitions."
post_install() {
vinstall ${FILESDIR}/org.void.pkexec.gparted.policy \
644 /usr/share/polkit-1/actions
vinstall ${FILESDIR}/gparted-pkexec 755 usr/bin
sed -i -e "s/Exec=.*/Exec=gparted-pkexec/" \
${DESTDIR}/usr/share/applications/gparted.desktop
}