summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Severance2015-07-08 18:07:20 -0400
committerChris Severance2015-07-08 18:07:20 -0400
commitebea1a1d8a6d1073b9381d1a0b3a3535fb9b0343 (patch)
tree23ef2766a59d119ce9492e131912cb2a86ae0d48
downloadaur-ebea1a1d8a6d1073b9381d1a0b3a3535fb9b0343.tar.gz
Initial import
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD50
2 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a5471725fad
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = libgxps-git
+ pkgdesc = An XPS Documents library
+ pkgver = 20120430
+ pkgrel = 1
+ url = http://git.gnome.org/browse/libgxps/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = gnome-common
+ makedepends = gtk-doc
+ makedepends = gobject-introspection
+ depends = cairo
+ depends = libarchive
+ depends = libtiff
+ provides = libgxps
+ conflicts = libgxps
+
+pkgname = libgxps-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0267cfc53f0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,50 @@
+# Maintainer: Auguste Pop <auguste [at] gmail [dot] com>
+
+pkgname='libgxps-git'
+pkgver='20120430'
+pkgrel='1'
+pkgdesc='An XPS Documents library'
+arch=('i686' 'x86_64')
+url='http://git.gnome.org/browse/libgxps/'
+license=('GPL')
+depends=('cairo' 'libarchive' 'libtiff')
+makedepends=('git' 'gnome-common' 'gtk-doc' 'gobject-introspection')
+provides=('libgxps')
+conflicts=('libgxps')
+
+_gitroot='git://git.gnome.org/libgxps'
+_gitname='libgxps'
+
+build()
+{
+ cd "${srcdir}"
+ msg 'Connecting to GIT server....'
+
+ if [[ -d "${_gitname}" ]]
+ then
+ cd "${_gitname}" && git pull origin
+ msg 'The local files are updated.'
+ else
+ git clone "${_gitroot}" "${_gitname}"
+ fi
+
+ msg 'GIT checkout done or server timeout'
+ msg 'Starting build...'
+
+ rm -rf "${srcdir}/${_gitname}-build"
+ git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
+ cd "${srcdir}/${_gitname}-build"
+
+ #
+ # BUILD HERE
+ #
+ ./autogen.sh
+ ./configure --prefix='/usr' --disable-test
+ make -s -j $(nproc)
+}
+
+package()
+{
+ cd "${srcdir}/${_gitname}-build"
+ make DESTDIR="${pkgdir}/" install
+}