summaryrefslogtreecommitdiff
path: root/community/sakura/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/sakura/PKGBUILD')
-rw-r--r--community/sakura/PKGBUILD23
1 files changed, 15 insertions, 8 deletions
diff --git a/community/sakura/PKGBUILD b/community/sakura/PKGBUILD
index cd5e476a1..7e5fa2714 100644
--- a/community/sakura/PKGBUILD
+++ b/community/sakura/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 93276 2013-07-01 04:10:57Z angvp $
+# $Id: PKGBUILD 102425 2013-12-10 20:26:05Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Dmitry N. Shilov <stormblast@land.ru>
pkgname=sakura
-pkgver=3.1.0
+pkgver=3.1.2
pkgrel=1
pkgdesc="A terminal emulator based on GTK and VTE"
arch=('i686' 'x86_64' 'mips64el')
@@ -11,17 +11,25 @@ url="https://launchpad.net/sakura"
license=('GPL')
depends=('vte3' 'libxft' 'desktop-file-utils')
makedepends=('cmake')
-source=("https://launchpad.net/sakura/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2")
+source=("https://launchpad.net/sakura/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2"
+ "deprecated_symbols.patch")
install=sakura.install
-sha1sums=('159abc2f83e912da1bfb35c9b239b092e78a044f')
+sha1sums=('c4d5356c228af112dda20b3db3eaf32868e91ab1'
+ '1c31086360f5ce9d6ca0e4303b6b8cf62266f4d1')
-build() {
+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 & install
+
+ # deprecated gtk symbols are used but disabled... enabling
+ patch -Np1 -i ${srcdir}/deprecated_symbols.patch
+}
+
+build() {
+ cd $srcdir/${pkgname}-${pkgver}
+
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE .
make
}
@@ -35,4 +43,3 @@ package() {
${pkgdir}/usr/share/doc/${pkgname}/INSTALL
rm ${pkgdir}/usr/share/doc/${pkgname}/INSTALL
}
-