summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRakksor2016-10-10 20:48:47 +0200
committerRakksor2016-10-10 20:48:47 +0200
commit0bd4ac54b57a3ee8b6e56948a408f04fbd7bc5b6 (patch)
treeb14f6125123778c0f55e41198db7620e1df0b6ab /PKGBUILD
downloadaur-xournal-gtk3-git.tar.gz
first commit for xournal-gtk3-git
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0be823e4133
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Rakksor <benihyniger@msn.com.com>
+
+_gitname=xournal
+_version=0.4.7
+pkgname=$_gitname-gtk3-git
+pkgver=0.4.7.g953b0e1
+pkgrel=1
+pkgdesc="Notetaking and sketching application"
+arch=('x86_64' 'i686')
+url="https://github.com/dmgerman/xournal"
+license=('GPL2')
+depends=('goocanvas' 'poppler-glib>=0.14.0' 'hicolor-icon-theme')
+makedepends=('git' 'gettext')
+optdepends=('ghostscript: Import PS/PDF files as bitmap backgrounds')
+conflicts=('xournal' 'xournalpp-svn')
+provides=('xournal')
+source=("git+git://github.com/dmgerman/$_gitname.git#branch=gtk3")
+md5sums=('SKIP')
+
+pkgver() {
+ cd $_gitname
+ echo $_version.g$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd $_gitname
+ ./autogen.sh --prefix=/usr
+ make
+}
+
+check() {
+ cd $_gitname
+ make check
+}
+
+package() {
+ cd $_gitname
+ make DESTDIR="$pkgdir" install desktop-install
+}