updated on Fri Jan 20 12:03:34 UTC 2012
[aur-mirror.git] / twmn / PKGBUILD
blobf6b832531fd447cc39de6bc4c757ead2d8b734eb
1 # Maintainer: Bolivar Stephen <bolivar.stephen@gmail.com>
3 pkgname=twmn
4 pkgver=20111205
5 pkgrel=1
6 pkgdesc="A notification system for tiling window managers"
7 arch=(any)
8 url="https://github.com/sboli/twmn"
9 license=('LGPL3')
10 groups=
11 provides=('twmnc' 'twmnd')
12 depends=('qt>=4.6' 'boost-libs>=1.46' 'boost>=1.46' 'libxext')
13 makedepends=('git' 'pkg-config')
14 replaces=('twmn')
15 install=
16 source=()
17 _gitroot="git://github.com/sboli/twmn.git"
18 _gitname="twmn"
20 build() {
21     msg "Downloading source code from git repository..."
22     if [[ -d $_gitname ]] ; then
23         cd $_gitname
24         git pull
25         msg "The local copy has been updated."
26     else
27         git clone $_gitroot || return 1
28         msg "Source code successfully downloaded."
29         cd $_gitname
30     fi
31     qmake
32     make ${MAKEFLAGS:--j3}
33     mkdir -p $pkgdir/usr/bin/
34     cp bin/twmn* $pkgdir/usr/bin/