Last active
December 14, 2015 09:29
-
-
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'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Bolivar Stephen <[email protected]> | |
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/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"qmake4 doesn't exist". Changed to qmake-qt4