Browse Source

first commit

Bachir Soussi Chiadmi 7 years ago
commit
c3bcb0cc44
7 changed files with 95 additions and 0 deletions
  1. 22 0
      .SRCINFO
  2. 5 0
      .gitignore
  3. 35 0
      PKGBUILD
  4. 11 0
      README.md
  5. 12 0
      ospkit-git.install
  6. 10 0
      ospkit.desktop
  7. BIN
      ospkit.png

+ 22 - 0
.SRCINFO

@@ -0,0 +1,22 @@
+# Generated by mksrcinfo v8
+# Mon May  1 08:42:45 UTC 2017
+pkgbase = ospkit-git
+	pkgdesc = Webkit based html browser for printing.
+	pkgver = r19.7fe30da
+	pkgrel = 1
+	url = http://osp.kitchen/tools/ospkit/
+	arch = any
+	license = AGPL
+	makedepends = git
+	makedepends = qt5-webkit
+	depends = desktop-file-utils
+	provides = ospkit
+	source = git+http://gitlab.constantvzw.org/osp/tools.ospkit.git
+	source = ospkit.desktop
+	source = ospkit.png
+	md5sums = SKIP
+	md5sums = b921f154668105b891a8eac7e12ce94d
+	md5sums = 908a48e767b3286fa6e9a1d8b571ef65
+
+pkgname = ospkit-git
+

+ 5 - 0
.gitignore

@@ -0,0 +1,5 @@
+src
+pkg
+ospkit
+tools.ospkit
+ospkit-git-*

+ 35 - 0
PKGBUILD

@@ -0,0 +1,35 @@
+
+# Maintainer: Bachir Soussi Chiadmi (scbh at g-u-i dot me)
+pkgname=ospkit-git
+pkgver=r19.7fe30da
+pkgrel=1
+pkgdesc="Webkit based html browser for printing."
+arch=('any')
+url="http://osp.kitchen/tools/ospkit/"
+license=('AGPL')
+depends=('desktop-file-utils')
+makedepends=('git' 'qt5-webkit')
+provides=('ospkit')
+source=('git+http://gitlab.constantvzw.org/osp/tools.ospkit.git' 'ospkit.desktop' 'ospkit.png')
+md5sums=('SKIP' 'b921f154668105b891a8eac7e12ce94d' '908a48e767b3286fa6e9a1d8b571ef65')
+conflicts=("")
+
+pkgver() {
+	cd "$srcdir/tools.ospkit"
+	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+	cd "$srcdir/tools.ospkit/src/"
+	qmake
+	make
+}
+
+package() {
+	mkdir -p "$pkgdir/usr/bin"
+	install "$srcdir/tools.ospkit/src/OSPKit" "$pkgdir/usr/bin/ospkit"
+	mkdir -p "$pkgdir/usr/share/applications"
+	install -Dm644 ospkit.desktop "$pkgdir/usr/share/applications/ospkit.desktop"
+	mkdir -p "$pkgdir/usr/share/pixmaps"
+	install -Dm644 ospkit.png "$pkgdir/usr/share/pixmaps/ospkit.png"
+}

+ 11 - 0
README.md

@@ -0,0 +1,11 @@
+OSPKit arch linux package
+============================
+The aim is to lay out printed documents within a web browser.
+
+Highlights:
+
+This browser is meant to be used with the project html2print available here: http://osp.kitchen/tools/html2print/.
+The aim is to lay out printed documents within a web browser.
+We built our own webkit browser in order to have a faster browser and good typography (weirdly, the bearings and kernings can be weird in certain webkit browsers).
+
+website: <http://nodebox.net/>

+ 12 - 0
ospkit-git.install

@@ -0,0 +1,12 @@
+post_install() {
+    update-desktop-database -q
+    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}

+ 10 - 0
ospkit.desktop

@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=OSPKit
+Comment=Webkit based html browser for printing.
+GenericName=
+Exec=/usr/bin/ospkit
+Icon=ospkit
+Type=Application
+StartupNotify=true
+Categories=Graphisme;
+MimeType=text/plain;

BIN
ospkit.png