[ create a new paste ] login | about

Link: http://codepad.org/j0YxfSVZ    [ raw code | fork ]

Plain Text, pasted on Sep 22:
# Maintainer: Roozbeh Shafiee <Roozbeh@Roozbeh.us>
arch=('i686' 'x86_64')
pkgname=choqok-git
pkgver=20120922
pkgrel=1
pkgdesc="A Twitter/identi.ca/laconica client for KDE 4. GIT version."
url="http://choqok.gnufolks.org"
license=("GPL")
depends=('kdelibs' 'qjson' 'qoauth' 'qca-ossl')
makedepends=('git' 'cmake' 'automoc4' 'docbook-xsl')
options=('!strip')
conflicts=('choqok-svn' 'choqok')
provides=('choqok')

source=()
sha512sums=()

_gitroot="git://anongit.kde.org/choqok"
_gitname="choqok"


build() {
  cd ${srcdir}
  msg "Connecting to GIT server...."

  if [ -d "${srcdir}/${_gitname}" ] ; then
    cd ${_gitname} && git pull --rebase
  else
    git clone ${_gitroot}
  fi

  msg "GIT checkout done or server timeout"
  msg "Starting make..."

  rm -rf ${srcdir}/build
  mkdir -p ${srcdir}/build
  cd ${srcdir}/build

  cmake -DCMAKE_INSTALL_PREFIX=$( kde4-config --prefix ) -DCMAKE_BUILD_TYPE=Release ../${_gitname}

  make
  make DESTDIR=$pkgdir install
}



Create a new paste based on this one


Comments: