void-packages/srcpkgs/epdfview/template
Juan RP fe02d61091 epdfview: sanitize deps, bumprev.
--HG--
extra : convert_revision : 2b2edc536cd6397597294f24c5a191a5676273d1
2010-01-11 16:11:31 +01:00

55 lines
1.8 KiB
Text

# Template build file for 'epdfview'.
pkgname=epdfview
version=0.1.7
revision=4
distfiles="http://trac.emma-soft.com/$pkgname/chrome/site/releases/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="Lightweight PDF viewer using Poppler and GTK+"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=0afbb0f348d4ba916cf58da48b4749b7cca6a9038136b27dc652161913704ae8
long_desc="
ePDFView is a free lightweight PDF document viewer using Poppler and
GTK+ libraries.
The aim of ePDFView is to make a simple PDF document viewer, in the lines
of Evince but without using the Gnome libraries."
gtk_iconcache_dirs="/usr/share/icons/hicolor"
Add_dependency run glib
Add_dependency run glibc
Add_dependency run gtk+
Add_dependency run atk
Add_dependency run pango
Add_dependency run cairo
Add_dependency run freetype
Add_dependency run fontconfig
Add_dependency run poppler-glib
Add_dependency run libstdc++
Add_dependency run libgcc
Add_dependency build pkg-config
Add_dependency build glib-devel
Add_dependency build glibc-devel
Add_dependency build gtk+-devel
Add_dependency build atk-devel
Add_dependency build pango-devel
Add_dependency build cairo-devel
Add_dependency build freetype-devel
Add_dependency build fontconfig-devel
Add_dependency build poppler-glib-devel
Add_dependency build libstdc++-devel
Add_dependency full hicolor-icon-theme
Add_dependency full desktop-file-utils
post_install()
{
install -Dm644 ${wrksrc}/data/icon_epdfview-24.png \
"${DESTDIR}/usr/share/icons/hicolor/24x24/apps/epdfview.png" \
|| return 1
install -Dm644 ${wrksrc}/data/icon_epdfview-32.png \
"${DESTDIR}/usr/share/icons/hicolor/32x32/apps/epdfview.png" \
|| return 1
install -Dm644 ${wrksrc}/data/icon_epdfview-48.png \
"${DESTDIR}/usr/share/icons/hicolor/48x48/apps/epdfview.png" \
|| return 1
}