summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO37
-rw-r--r--PKGBUILD51
2 files changed, 88 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2fde88e6bfe
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,37 @@
+# Generated by mksrcinfo v8
+# Fri Aug 11 15:19:34 UTC 2017
+pkgbase = manokwari-git
+ pkgdesc = HTML5 desktop shell from BlankOn Projects
+ pkgver = 1.0.13.r0.gec20e0f
+ pkgrel = 1
+ url = https://manokwari.blankonlinux.or.id
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = gnome-common
+ makedepends = git
+ makedepends = vala
+ depends = mutter
+ depends = libunique3
+ depends = gnome-session
+ depends = glib2
+ depends = gtk3
+ depends = libwnck3
+ depends = libgee
+ depends = webkitgtk
+ depends = gnome-menus
+ depends = libnotify
+ depends = xdg-utils
+ optdepends = bromo-gtk-theme: Gtk theme optimized for Manokwari shell
+ optdepends = tebu-icon-theme: Official icon sets from BlankOn
+ optdepends = tebu-flat-icon-theme: flat version of tebu-icon from BlankOn
+ optdepends = gnome-screensaver: Lock screen
+ optdepends = gnome-control-center: System settings
+ optdepends = gnome-terminal: Run commands from system menu
+ provides = manokwari=1.0.13
+ conflicts = manokwari
+ source = manokwari::git+https://github.com/BlankOn/manokwari.git
+ sha256sums = SKIP
+
+pkgname = manokwari-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fd3f2c27e2e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,51 @@
+# Maintainer: twa022 <twa022 at gmail dot com>
+
+_pkgname=manokwari
+pkgname=${_pkgname}-git
+pkgver=1.0.13.r0.gec20e0f
+pkgrel=1
+pkgdesc="HTML5 desktop shell from BlankOn Projects"
+arch=('i686' 'x86_64')
+url="https://manokwari.blankonlinux.or.id"
+license=('GPL3')
+depends=('mutter' 'libunique3' 'gnome-session' 'glib2' 'gtk3' 'libwnck3'
+ 'libgee' 'webkitgtk' 'gnome-menus' 'libnotify' 'xdg-utils')
+makedepends=('gnome-common' 'git' 'vala')
+optdepends=('bromo-gtk-theme: Gtk theme optimized for Manokwari shell'
+ 'tebu-icon-theme: Official icon sets from BlankOn'
+ 'tebu-flat-icon-theme: flat version of tebu-icon from BlankOn'
+ 'gnome-screensaver: Lock screen'
+ 'gnome-control-center: System settings'
+ 'gnome-terminal: Run commands from system menu')
+provides=("${_pkgname}=${pkgver%.r*}")
+conflicts=("${_pkgname}")
+source=("${_pkgname}::git+https://github.com/BlankOn/manokwari.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${_pkgname}"
+ git describe --long --tags | sed -r "s/^v//;s/([^-]*-g)/r\1/;s/-/./g"
+}
+
+prepare(){
+ cd "${srcdir}/${_pkgname}"
+ # Use libgee 0.8 rather than libgee 0.6
+ sed -i 's/gee-1.0/gee-0.8/g' configure.ac
+ # x-www-browser isn't provided by any package, use xdg-open instead
+ sed -i 's:x-www-browser:xdg-open:' system/js/search.js
+ # Install documentation to the correct location
+ sed -i 's:\(manokwaridocdir =\).*:\1 ${prefix}/share/doc/manokwari:' Makefile.am
+}
+
+build(){
+ cd "${srcdir}/${_pkgname}"
+ ./autogen.sh --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}"
+ make DESTDIR="${pkgdir}" install
+ cp -R system/{css/,fonts/,img/,js/,widget/,texture.jpg,texture.xcf} --target-directory="${pkgdir}"/usr/lib/manokwari/system/
+ chmod +x "${pkgdir}"/usr/bin/blankon-session
+}