Permalink
Browse files

libcgroup-git: cleanup, conflict with libcgroup

  • Loading branch information...
1 parent 9cb756d commit 12ebf1f8dc5375fa16a8bd3c89d4a2baf73bc491 @falconindy committed Jan 6, 2012
Showing with 10 additions and 7 deletions.
  1. +10 −7 libcgroup-git/PKGBUILD
View
@@ -1,27 +1,30 @@
# Maintainer: Dave Reisner <d@falconindy.com>
pkgname=libcgroup-git
-pkgver=20110409
+pkgver=20120106
pkgrel=1
pkgdesc="Library that abstracts the control group file system in Linux"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://libcg.sourceforge.net"
-license=(LGPL)
+license=('LGPL')
makedepends=('git')
-backup=(etc/conf.d/cgred etc/conf.d/cgconfig etc/cgconfig.conf etc/cgrules.conf)
-source=(cgconfig cgred)
+source=('cgconfig' 'cgred')
provides=('libcgroup')
+conflicts=('libcgroup')
+backup=('etc/conf.d/cgred'
+ 'etc/conf.d/cgconfig'
+ 'etc/cgconfig.conf'
+ 'etc/cgrules.conf')
md5sums=('54e64c0eaa4eafcef947d3824dc82bbb'
'ccc0891adbd8863dc11b7bcc339f22d5')
_gitroot="git://libcg.git.sourceforge.net/gitroot/libcg/libcg"
_gitname="libcg"
build() {
- cd "$srcdir"
msg "Connecting to GIT server...."
- if [ -d $_gitname ] ; then
+ if [[ -d $_gitname ]] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else

0 comments on commit 12ebf1f

Please sign in to comment.