updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / unity-lens-bliss / PKGBUILD
blob760797e5421cb0a00805d7dc3459c0914cc95f62
1 # Maintainer: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
2 pkgname=unity-lens-bliss
3 pkgver=0.1.3
4 pkgrel=1
5 pkgdesc="Simple Applications Lens for Unity"
6 arch=('i686' 'x86_64')
7 url="https://launchpad.net/unity-lens-bliss"
8 license=('GPL3')
9 depends=('unity')
10 source=("http://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz")
11 sha512sums=('a0ab9536ee8864a53b6791c9704bf7faf2c2daed17abdf5b690cc120b7366ec9cc549caece49384df75aae1912820fb8b48ec51a1c7d94cac3badc45714c4f52')
13 build() {
14   cd "${srcdir}/${pkgname}-${pkgver}"
15   #Python 2 fix
16   sed -i 's|^\(#!.*python\)$|\12|g' bin/unity-bliss-daemon.in
17   PYTHON=python2 ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/${pkgname}
18   make
21 check() {
22   cd "${srcdir}/${pkgname}-${pkgver}"
23   make -k check
26 package() {
27   cd "${srcdir}/${pkgname}-${pkgver}"
28   make DESTDIR="${pkgdir}/" install
31 # vim:set ts=2 sw=2 et: