summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Gauduin2017-05-01 18:08:32 +0200
committerMaxime Gauduin2017-05-01 18:08:32 +0200
commitf2bd76955dc0634d7954949e0b9c97905147bc93 (patch)
tree3b1338f0707b532180320e26da2474b930b215ae
downloadaur-f2bd76955dc0634d7954949e0b9c97905147bc93.tar.gz
Add pantheon-print-git
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD48
2 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c31bc5e470c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+# Generated by mksrcinfo v8
+# Mon May 1 16:08:32 UTC 2017
+pkgbase = pantheon-print-git
+ pkgdesc = Simple shim for printing support via Contractor
+ pkgver = r18.b526ae8
+ pkgrel = 1
+ url = https://github.com/elementary/pantheon-print
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = cmake
+ makedepends = git
+ makedepends = vala
+ depends = cairo
+ depends = contractor
+ depends = glib2
+ depends = glibc
+ depends = gtk3
+ depends = pango
+ provides = pantheon-print
+ conflicts = pantheon-print
+ replaces = pantheon-print-bzr
+ source = git+https://github.com/elementary/pantheon-print.git
+ sha256sums = SKIP
+
+pkgname = pantheon-print-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b7cf4870679
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,48 @@
+# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
+
+pkgname=pantheon-print-git
+pkgver=r18.b526ae8
+pkgrel=1
+pkgdesc=' Simple shim for printing support via Contractor'
+arch=('i686' 'x86_64')
+url='https://github.com/elementary/pantheon-print'
+license=('GPL3')
+depends=('cairo' 'contractor' 'glib2' 'glibc' 'gtk3' 'pango')
+makedepends=('cmake' 'git' 'vala')
+provides=('pantheon-print')
+conflicts=('pantheon-print')
+replaces=('pantheon-print-bzr')
+source=('git+https://github.com/elementary/pantheon-print.git')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd pantheon-print
+
+ echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd pantheon-print
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+}
+
+build() {
+ cd pantheon-print/build
+
+ cmake .. \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr'
+ make
+}
+
+package() {
+ cd pantheon-print/build
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et: