Skip to content

Instantly share code, notes, and snippets.

@whitelynx
Last active December 14, 2015 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whitelynx/5065654 to your computer and use it in GitHub Desktop.
Save whitelynx/5065654 to your computer and use it in GitHub Desktop.
Updated PKGBUILD for twmn - changed 'qt' dependency to 'qt4', and changed 'qmake' command to 'qmake4'
# 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/
}
@matkarlg
Copy link

matkarlg commented Mar 2, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment