summaryrefslogtreecommitdiff
path: root/staging/xournal/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'staging/xournal/PKGBUILD')
-rw-r--r--staging/xournal/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/staging/xournal/PKGBUILD b/staging/xournal/PKGBUILD
new file mode 100644
index 000000000..aa89c0c26
--- /dev/null
+++ b/staging/xournal/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 162197 2012-06-23 11:44:10Z bisson $
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+
+pkgname=xournal
+pkgver=0.4.6
+pkgrel=2
+pkgdesc='Notetaking and sketching application'
+url='http://xournal.sourceforge.net/'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('libgnomecanvas' 'poppler-glib' 'shared-mime-info' 'desktop-file-utils' 'hicolor-icon-theme')
+optdepends=('ghostscript: import PS/PDF files as bitmap backgrounds')
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('4ebe79e3df7155d2a09c341537a639ac2332d4c8')
+
+install=install
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr LIBS='-lm -lz'
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install desktop-install
+}