summaryrefslogtreecommitdiff
path: root/community/sakura/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/sakura/PKGBUILD')
-rw-r--r--community/sakura/PKGBUILD25
1 files changed, 10 insertions, 15 deletions
diff --git a/community/sakura/PKGBUILD b/community/sakura/PKGBUILD
index 7e5fa2714..c38d4ba84 100644
--- a/community/sakura/PKGBUILD
+++ b/community/sakura/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 102425 2013-12-10 20:26:05Z ronald $
+# $Id: PKGBUILD 105082 2014-01-31 10:43:46Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Dmitry N. Shilov <stormblast@land.ru>
pkgname=sakura
-pkgver=3.1.2
+pkgver=3.1.3
pkgrel=1
pkgdesc="A terminal emulator based on GTK and VTE"
arch=('i686' 'x86_64' 'mips64el')
@@ -11,35 +11,30 @@ 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"
- "deprecated_symbols.patch")
+source=("https://launchpad.net/sakura/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2")
install=sakura.install
-sha1sums=('c4d5356c228af112dda20b3db3eaf32868e91ab1'
- '1c31086360f5ce9d6ca0e4303b6b8cf62266f4d1')
+sha1sums=('44556f30eb63c95eb46d253a0e69c81ec7e0112b')
prepare() {
- cd $srcdir/${pkgname}-${pkgver}
+ 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
-
- # deprecated gtk symbols are used but disabled... enabling
- patch -Np1 -i ${srcdir}/deprecated_symbols.patch
}
build() {
- cd $srcdir/${pkgname}-${pkgver}
+ cd "$srcdir/${pkgname}-${pkgver}"
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE .
make
}
package() {
- cd $srcdir/${pkgname}-${pkgver}
+ cd "$srcdir/${pkgname}-${pkgver}"
- make DESTDIR=${pkgdir} install
+ 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
+ "${pkgdir}"/usr/share/doc/${pkgname}/INSTALL
+ rm "${pkgdir}/usr/share/doc/${pkgname}/INSTALL"
}