[arch-commits] Commit in scratch-text-editor (7 files)
Maxime Gauduin
alucryd at archlinux.org
Sun Aug 30 19:01:05 UTC 2015
Date: Sunday, August 30, 2015 @ 21:01:05
Author: alucryd
Revision: 138989
archrelease: copy trunk to community-i686, community-x86_64
Added:
scratch-text-editor/repos/
scratch-text-editor/repos/community-i686/
scratch-text-editor/repos/community-i686/PKGBUILD
(from rev 138988, scratch-text-editor/trunk/PKGBUILD)
scratch-text-editor/repos/community-i686/scratch-text-editor.install
(from rev 138988, scratch-text-editor/trunk/scratch-text-editor.install)
scratch-text-editor/repos/community-x86_64/
scratch-text-editor/repos/community-x86_64/PKGBUILD
(from rev 138988, scratch-text-editor/trunk/PKGBUILD)
scratch-text-editor/repos/community-x86_64/scratch-text-editor.install
(from rev 138988, scratch-text-editor/trunk/scratch-text-editor.install)
----------------------------------------------+
community-i686/PKGBUILD | 52 +++++++++++++++++++++++++
community-i686/scratch-text-editor.install | 14 ++++++
community-x86_64/PKGBUILD | 52 +++++++++++++++++++++++++
community-x86_64/scratch-text-editor.install | 14 ++++++
4 files changed, 132 insertions(+)
Copied: scratch-text-editor/repos/community-i686/PKGBUILD (from rev 138988, scratch-text-editor/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD (rev 0)
+++ repos/community-i686/PKGBUILD 2015-08-30 19:01:05 UTC (rev 138989)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Ner0 <darkelfdarkelf666 at yahoo.co.uk>
+
+pkgname=scratch-text-editor
+pkgver=2.2.0
+pkgrel=1
+pkgdesc='The Pantheon Text Editor'
+arch=('i686' 'x86_64')
+url='https://launchpad.net/scratch'
+license=('GPL3')
+groups=('pantheon')
+depends=('desktop-file-utils' 'glib2' 'glibc' 'gtk3' 'gtksourceview3' 'libgee'
+ 'libpeas' 'pango' 'zeitgeist'
+ 'libgranite.so')
+makedepends=('cmake' 'gobject-introspection' 'gtkspell3' 'vala' 'vte3'
+ 'webkitgtk')
+optdepends=('gtkspell3: Spell Check extension'
+ 'vala: Outline extension'
+ 'vte3: Terminal extension'
+ 'webkitgtk: Browser Preview extension')
+install='scratch-text-editor.install'
+source=("https://launchpad.net/scratch/${pkgver%.*.*}.x/${pkgver%.*}/+download/scratch-text-editor-${pkgver}.tar.xz")
+sha256sums=('18fdfbdba51c92caaf879da70de9bdeac1a9e2befbdfc7052fb6a1a2f428efdc')
+
+prepare() {
+ cd scratch-text-editor-${pkgver}
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+}
+
+build() {
+ cd scratch-text-editor-${pkgver}/build
+
+ cmake .. \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DCMAKE_INSTALL_LIBDIR='/usr/lib' \
+ -DGSETTINGS_COMPILE='FALSE'
+ make
+}
+
+package() {
+ cd scratch-text-editor-${pkgver}/build
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
Copied: scratch-text-editor/repos/community-i686/scratch-text-editor.install (from rev 138988, scratch-text-editor/trunk/scratch-text-editor.install)
===================================================================
--- repos/community-i686/scratch-text-editor.install (rev 0)
+++ repos/community-i686/scratch-text-editor.install 2015-08-30 19:01:05 UTC (rev 138989)
@@ -0,0 +1,14 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim: ts=2 sw=2 et:
Copied: scratch-text-editor/repos/community-x86_64/PKGBUILD (from rev 138988, scratch-text-editor/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2015-08-30 19:01:05 UTC (rev 138989)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Ner0 <darkelfdarkelf666 at yahoo.co.uk>
+
+pkgname=scratch-text-editor
+pkgver=2.2.0
+pkgrel=1
+pkgdesc='The Pantheon Text Editor'
+arch=('i686' 'x86_64')
+url='https://launchpad.net/scratch'
+license=('GPL3')
+groups=('pantheon')
+depends=('desktop-file-utils' 'glib2' 'glibc' 'gtk3' 'gtksourceview3' 'libgee'
+ 'libpeas' 'pango' 'zeitgeist'
+ 'libgranite.so')
+makedepends=('cmake' 'gobject-introspection' 'gtkspell3' 'vala' 'vte3'
+ 'webkitgtk')
+optdepends=('gtkspell3: Spell Check extension'
+ 'vala: Outline extension'
+ 'vte3: Terminal extension'
+ 'webkitgtk: Browser Preview extension')
+install='scratch-text-editor.install'
+source=("https://launchpad.net/scratch/${pkgver%.*.*}.x/${pkgver%.*}/+download/scratch-text-editor-${pkgver}.tar.xz")
+sha256sums=('18fdfbdba51c92caaf879da70de9bdeac1a9e2befbdfc7052fb6a1a2f428efdc')
+
+prepare() {
+ cd scratch-text-editor-${pkgver}
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+}
+
+build() {
+ cd scratch-text-editor-${pkgver}/build
+
+ cmake .. \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DCMAKE_INSTALL_LIBDIR='/usr/lib' \
+ -DGSETTINGS_COMPILE='FALSE'
+ make
+}
+
+package() {
+ cd scratch-text-editor-${pkgver}/build
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
Copied: scratch-text-editor/repos/community-x86_64/scratch-text-editor.install (from rev 138988, scratch-text-editor/trunk/scratch-text-editor.install)
===================================================================
--- repos/community-x86_64/scratch-text-editor.install (rev 0)
+++ repos/community-x86_64/scratch-text-editor.install 2015-08-30 19:01:05 UTC (rev 138989)
@@ -0,0 +1,14 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list