[arch-commits] Commit in sakura/repos (6 files)
Anatol Pomozov
anatolik at archlinux.org
Thu Jan 1 15:22:17 UTC 2015
Date: Thursday, January 1, 2015 @ 16:22:16
Author: anatolik
Revision: 125125
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
sakura/repos/community-testing-i686/
sakura/repos/community-testing-i686/PKGBUILD
(from rev 125124, sakura/trunk/PKGBUILD)
sakura/repos/community-testing-i686/sakura.install
(from rev 125124, sakura/trunk/sakura.install)
sakura/repos/community-testing-x86_64/
sakura/repos/community-testing-x86_64/PKGBUILD
(from rev 125124, sakura/trunk/PKGBUILD)
sakura/repos/community-testing-x86_64/sakura.install
(from rev 125124, sakura/trunk/sakura.install)
-----------------------------------------+
community-testing-i686/PKGBUILD | 40 ++++++++++++++++++++++++++++++
community-testing-i686/sakura.install | 12 +++++++++
community-testing-x86_64/PKGBUILD | 40 ++++++++++++++++++++++++++++++
community-testing-x86_64/sakura.install | 12 +++++++++
4 files changed, 104 insertions(+)
Copied: sakura/repos/community-testing-i686/PKGBUILD (from rev 125124, sakura/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-01-01 15:22:16 UTC (rev 125125)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Dmitry N. Shilov <stormblast at land.ru>
+
+pkgname=sakura
+pkgver=3.2.0
+pkgrel=1
+pkgdesc="A terminal emulator based on GTK and VTE"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/sakura"
+license=('GPL')
+depends=('vte290' 'libxft' 'desktop-file-utils')
+makedepends=('cmake')
+source=("https://launchpad.net/sakura/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2")
+install=sakura.install
+sha1sums=('e7a8006463f3e961069b2a0f234d40fe9360437e')
+
+prepare() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+
+ # Set default font size a bit smaller
+ sed -i 's|#define DEFAULT_FONT "Bitstream Vera Sans Mono 14"|#define DEFAULT_FONT "Bitstream Vera Sans Mono 10"|g' src/sakura.c
+}
+
+build() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE .
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+ # extract the keybindings from the installed documentation, rest is only relevant during build time
+ awk '/^Keybindings/{f="'${pkgdir}'/usr/share/doc/'${pkgname}'/KEYBINDINGS"} f{print > f} /^END/' \
+ "${pkgdir}"/usr/share/doc/${pkgname}/INSTALL
+ rm "${pkgdir}/usr/share/doc/${pkgname}/INSTALL"
+}
Copied: sakura/repos/community-testing-i686/sakura.install (from rev 125124, sakura/trunk/sakura.install)
===================================================================
--- community-testing-i686/sakura.install (rev 0)
+++ community-testing-i686/sakura.install 2015-01-01 15:22:16 UTC (rev 125125)
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ update-desktop-database -q
+}
+
Copied: sakura/repos/community-testing-x86_64/PKGBUILD (from rev 125124, sakura/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2015-01-01 15:22:16 UTC (rev 125125)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Dmitry N. Shilov <stormblast at land.ru>
+
+pkgname=sakura
+pkgver=3.2.0
+pkgrel=1
+pkgdesc="A terminal emulator based on GTK and VTE"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/sakura"
+license=('GPL')
+depends=('vte290' 'libxft' 'desktop-file-utils')
+makedepends=('cmake')
+source=("https://launchpad.net/sakura/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2")
+install=sakura.install
+sha1sums=('e7a8006463f3e961069b2a0f234d40fe9360437e')
+
+prepare() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+
+ # Set default font size a bit smaller
+ sed -i 's|#define DEFAULT_FONT "Bitstream Vera Sans Mono 14"|#define DEFAULT_FONT "Bitstream Vera Sans Mono 10"|g' src/sakura.c
+}
+
+build() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE .
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+ # extract the keybindings from the installed documentation, rest is only relevant during build time
+ awk '/^Keybindings/{f="'${pkgdir}'/usr/share/doc/'${pkgname}'/KEYBINDINGS"} f{print > f} /^END/' \
+ "${pkgdir}"/usr/share/doc/${pkgname}/INSTALL
+ rm "${pkgdir}/usr/share/doc/${pkgname}/INSTALL"
+}
Copied: sakura/repos/community-testing-x86_64/sakura.install (from rev 125124, sakura/trunk/sakura.install)
===================================================================
--- community-testing-x86_64/sakura.install (rev 0)
+++ community-testing-x86_64/sakura.install 2015-01-01 15:22:16 UTC (rev 125125)
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ update-desktop-database -q
+}
+
More information about the arch-commits
mailing list