public
Last active

Updated PKGBUILD for twmn - changed 'qt' dependency to 'qt4', and changed 'qmake' command to 'qmake4'

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

"qmake4 doesn't exist". Changed to qmake-qt4

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.