summaryrefslogtreecommitdiff
path: root/community/sakura
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-02 00:01:28 +0000
committerroot <root@rshg054.dnsready.net>2012-03-02 00:01:28 +0000
commit9ff97db6951550a28a70b27491a446da9d736176 (patch)
tree482d46078cf0367200908e8e26bb335e54429b5b /community/sakura
parent6f297b1cf462a11227d811a87124006c55911d63 (diff)
Fri Mar 2 00:01:27 UTC 2012
Diffstat (limited to 'community/sakura')
-rw-r--r--community/sakura/PKGBUILD17
-rw-r--r--community/sakura/linker.patch11
2 files changed, 22 insertions, 6 deletions
diff --git a/community/sakura/PKGBUILD b/community/sakura/PKGBUILD
index c8cd7e2d5..16f5c5794 100644
--- a/community/sakura/PKGBUILD
+++ b/community/sakura/PKGBUILD
@@ -1,23 +1,28 @@
-# $Id: PKGBUILD 53190 2011-07-31 20:35:40Z rvanharen $
+# $Id: PKGBUILD 66893 2012-02-29 21:54:35Z rvanharen $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Dmitry N. Shilov <stormblast@land.ru>
pkgname=sakura
-pkgver=2.4.2
+pkgver=3.0.0
pkgrel=1
pkgdesc="A terminal emulator based on GTK and VTE"
arch=('i686' 'x86_64')
-url="http://pleyades.net/david/sakura.php"
+url="https://launchpad.net/sakura"
license=('GPL')
-depends=('vte' 'libxft' 'desktop-file-utils')
+depends=('vte3' 'libxft' 'desktop-file-utils')
makedepends=('cmake')
-source=(http://pleyades.net/david/projects/$pkgname/$pkgname-$pkgver.tar.bz2)
+source=(http://pleyades.net/david/projects/$pkgname/$pkgname-$pkgver.tar.bz2
+ "linker.patch")
install=sakura.install
-sha1sums=('24b98c42c057da39f57c281a4726901952774641')
+sha1sums=('2ac4024b40074fb048e9b75cd7ea351b1829c5ee'
+ '781058944c572b840e68a55a0fe86e97c4ac5296')
build() {
cd $srcdir/${pkgname}-${pkgver}
+ # missing linker
+ patch -Np1 -i ${srcdir}/linker.patch
+
# 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
diff --git a/community/sakura/linker.patch b/community/sakura/linker.patch
new file mode 100644
index 000000000..9277461d9
--- /dev/null
+++ b/community/sakura/linker.patch
@@ -0,0 +1,11 @@
+--- sakura-3.0.0/CMakeLists.txt.bak 2012-02-29 22:50:16.786701967 +0100
++++ sakura-3.0.0/CMakeLists.txt 2012-02-29 22:50:26.323368673 +0100
+@@ -43,7 +43,7 @@
+
+ INCLUDE_DIRECTORIES (. ${GTK_INCLUDE_DIRS} ${VTE_INCLUDE_DIRS})
+ LINK_DIRECTORIES (${GTK_LIBRARY_DIRS} ${VTE_LIBRARY_DIRS})
+-LINK_LIBRARIES (${GTK_LIBRARIES} ${VTE_LIBRARIES})
++LINK_LIBRARIES (${GTK_LIBRARIES} ${VTE_LIBRARIES} -lm)
+ ADD_EXECUTABLE (sakura src/sakura.c)
+ ADD_DEPENDENCIES (sakura src/sakura.c src/sakura.h)
+