updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rsibreak-svn / PKGBUILD
blob0a40bb7323d485eefb6f3af025cc2291d3acf5d0
1 # Contributor: Dmytro Kostiuchenko <edio@gmx.us>
2 # Maintainer: Dmytro Kostiuchenko <edio@gmx.us>
4 pkgname=rsibreak-svn
5 pkgver=1138161
6 pkgrel=1
7 pkgdesc="RSIBreak simply offers reminders to take a break now and then"
8 arch=(i686 x86_64)
9 url="http://www.rsibreak.org/"
10 license=('GPL')
11 depends=('libxss' 'kdelibs' 'oxygen-icons')
12 makedepends=('automoc4' 'subversion')
13 options=('libtool')
14 provides=('rsibreak')
15 conflicts=('rsibreak')
17 source=()
18 md5sums=()
20 _svntrunk=svn://anonsvn.kde.org/home/kde/trunk/extragear/utils/rsibreak
21 _svnmod=rsibreak
23 build() {
24   cd ${srcdir}
26   if [ -d $_svnmod/.svn ]; then
27     (cd $_svnmod && svn up -r $pkgver)
28   else
29     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30   fi
32   msg "Starting make..."
34   cp -r $_svnmod $_svnmod-build
35   cd $_svnmod-build
37   cmake -DCMAKE_INSTALL_PREFIX=/usr .
38   make || return 1
39   make DESTDIR=${pkgdir} install
41   rm -rf ${srcdir}/$_svnmod-build
43 # vim:syntax=sh