Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Contributor: Murtuza Akhtari <inxsible at gmail dot com>
- # Adopted for updates by: BKLive <bkunixos@gmail.com>
- # Contributor: Uwe < keksvernichter AT gmail DOT com >
- pkgname=dzen2-xft-xpm-xinerama-svn
- pkgver=271
- pkgrel=1
- pkgdesc="pkgdesc="X notification utility with Xinerama, XPM, XFT and gadgets, svn version""
- arch=('i686' 'x86_64')
- url="http://gotmor.googlepages.com/dzen"
- license=('MIT')
- depends=('libxft' 'libxinerama' 'libxpm')
- makedepends=('subversion' 'gcc')
- provides=('dzen2')
- conflicts=('dzen2' 'dzen2-gadgets-svn' 'dzen2-svn')
- source=('config.patch')
- md5sums=('0ccb8c3b2a7c7af098d63c4cd727df1a')
- _svntrunk=http://dzen.googlecode.com/svn/trunk/
- _svnmod=dzen2
- build() {
- cd ${srcdir}
- if [ -d $_svnmod/.svn ]; then
- (cd $_svnmod && svn up -r $pkgver)
- else
- svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
- fi
- msg "SVN checkout done or server timeout"
- msg "Starting make..."
- if [ -d $_svnmod-build ]; then
- rm -rf $_svnmod-build
- fi
- cp -r $_svnmod $_svnmod-build
- cd $_svnmod-build
- patch -p0 < ${srcdir}/config.patch
- make
- make DESTDIR=${pkgdir} install
- #license
- install -m644 -D LICENSE ${startdir}/pkg/usr/share/licenses/$_svnmod/COPYING
- #docs
- mkdir -p ${pkgdir}/usr/share/doc/$_svnmod
- cp README* ${pkgdir}/usr/share/doc/$_svnmod
- #gadgets && docs
- cd gadgets
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
- cp README* ${pkgdir}/usr/share/doc/$_svnmod
- }
- # vim: set sw=4 et :
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement