summaryrefslogtreecommitdiff
path: root/community/pdfedit
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/pdfedit
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/pdfedit')
-rw-r--r--community/pdfedit/PKGBUILD37
-rw-r--r--community/pdfedit/pdfedit.desktop9
-rw-r--r--community/pdfedit/pdfedit.pngbin0 -> 1881 bytes
3 files changed, 46 insertions, 0 deletions
diff --git a/community/pdfedit/PKGBUILD b/community/pdfedit/PKGBUILD
new file mode 100644
index 000000000..84b9416c7
--- /dev/null
+++ b/community/pdfedit/PKGBUILD
@@ -0,0 +1,37 @@
+# Contributor: Firmicus <firmicus α gmx δ net>
+# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgname=pdfedit
+pkgver=0.4.5
+pkgrel=1
+pkgdesc='Full featured editor for manipulating PDF documents'
+arch=('i686' 'x86_64')
+url='http://pdfedit.petricek.net/index_e.html'
+license=('GPL')
+depends=('qt3' 't1lib' 'gsfonts')
+makedepends=('boost' 'doxygen')
+source=(http://downloads.sourceforge.net/pdfedit/${pkgname}-${pkgver}.tar.bz2
+ 'pdfedit.png' 'pdfedit.desktop')
+md5sums=('80502ee7f08cdfb867ffdaa92d160a23'
+ '70fd938b2ef9da748a093df7e20d1d7d'
+ 'c0572c2dd54065322321718aa49ed6b8')
+
+build() {
+ . /etc/profile.d/qt3.sh
+ export PATH=$QTDIR/bin:$PATH
+ export QMAKESPEC=$QTDIR/mkspecs/linux-g++
+
+ cd ${srcdir}/${pkgname}-${pkgver}
+ sed -i 's:/usr/share/fonts/type1/gsfonts:/usr/share/fonts/Type1:' src/xpdf/xpdf/GlobalParams.cc || return 1
+ ./configure --prefix=/usr --with-qmake=/opt/qt/bin/qmake
+ make || return 1
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ make INSTALL_ROOT=${pkgdir} install
+
+ install -D -m644 ../pdfedit.desktop ${pkgdir}/usr/share/applications/pdfedit.desktop
+ install -D -m644 ../pdfedit.png ${pkgdir}/usr/share/pixmaps/pdfedit.png
+}
diff --git a/community/pdfedit/pdfedit.desktop b/community/pdfedit/pdfedit.desktop
new file mode 100644
index 000000000..35b8defc0
--- /dev/null
+++ b/community/pdfedit/pdfedit.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+Name=PDF Editor
+GenericName=PDF Editor
+Exec=pdfedit
+Categories=Utility;TextEditor;
+Icon=pdfedit
+Terminal=false
diff --git a/community/pdfedit/pdfedit.png b/community/pdfedit/pdfedit.png
new file mode 100644
index 000000000..3bfc3f2e9
--- /dev/null
+++ b/community/pdfedit/pdfedit.png
Binary files differ