diff options
Diffstat (limited to 'community/bamf/PKGBUILD')
-rw-r--r-- | community/bamf/PKGBUILD | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/community/bamf/PKGBUILD b/community/bamf/PKGBUILD index 0e9e817f2..7d220013c 100644 --- a/community/bamf/PKGBUILD +++ b/community/bamf/PKGBUILD @@ -1,24 +1,33 @@ -# $Id: PKGBUILD 99159 2013-10-25 08:28:21Z alucryd $ +# $Id: PKGBUILD 111940 2014-05-27 08:42:51Z jgc $ # Maintainer: Maxime Gauduin <alucryd at gmail dot com> # Contributor: Balló György <ballogyor+arch at gmail dot com> pkgname=bamf pkgver=0.5.0 -pkgrel=2 -pkgdesc="Application matching framework" +pkgrel=3 +pkgdesc='Application matching framework' arch=('i686' 'x86_64') -url="https://launchpad.net/bamf" +url='https://launchpad.net/bamf' license=('GPL') depends=('libgtop' 'libwnck3') makedepends=('gobject-introspection' 'python2-lxml' 'vala') -source=("http://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz") -sha256sums=('93b1acced96d32b36270cf18feb2761014ce2226814303c632448f717a8f9113') +source=("http://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz" + 'fix-legacy-window-test.patch') +sha256sums=('93b1acced96d32b36270cf18feb2761014ce2226814303c632448f717a8f9113' + '0d052f6d654ae86d14d7f73c428237b9410d11986ee1112d988a7ffe1df0988e') + +prepare() { + cd ${pkgname}-${pkgver} + + patch -Np0 -i ../fix-legacy-window-test.patch +} build() { cd ${pkgname}-${pkgver} export PYTHON='/usr/bin/python2' - ./configure --prefix='/usr' --sysconfdir='/etc' --localstatedir='/var' --libexecdir="/usr/lib/${pkgname}" --disable-{static,webapps} + ./configure --prefix='/usr' --sysconfdir='/etc' --localstatedir='/var' \ + --libexecdir="/usr/lib/${pkgname}" --disable-{static,webapps} make } |