diff options
author | Bachir Soussi Chiadmi | 2017-05-01 11:03:15 +0200 |
---|---|---|
committer | Bachir Soussi Chiadmi | 2017-05-01 11:03:15 +0200 |
commit | c3bcb0cc44e8ecb10967e3027fb52552c8245874 (patch) | |
tree | cbb8f92a701007225668ad03934503570567b6c1 | |
download | aur-c3bcb0cc44e8ecb10967e3027fb52552c8245874.tar.gz |
first commit
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 35 | ||||
-rw-r--r-- | README.md | 11 | ||||
-rw-r--r-- | ospkit-git.install | 12 | ||||
-rw-r--r-- | ospkit.desktop | 10 | ||||
-rw-r--r-- | ospkit.png | bin | 0 -> 1399 bytes |
7 files changed, 95 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d276552919a6 --- /dev/null +++ b/.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 + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..c7bd1cb7b265 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +src +pkg +ospkit +tools.ospkit +ospkit-git-* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b70b9eb29a2f --- /dev/null +++ b/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" +} diff --git a/README.md b/README.md new file mode 100644 index 000000000000..7361ba99ed77 --- /dev/null +++ b/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/> diff --git a/ospkit-git.install b/ospkit-git.install new file mode 100644 index 000000000000..4d4a283dba5c --- /dev/null +++ b/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 +} diff --git a/ospkit.desktop b/ospkit.desktop new file mode 100644 index 000000000000..75ae68d38d62 --- /dev/null +++ b/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; diff --git a/ospkit.png b/ospkit.png Binary files differnew file mode 100644 index 000000000000..660b48cae11f --- /dev/null +++ b/ospkit.png |