Skip to content

Instantly share code, notes, and snippets.

@jasonwryan
Created April 17, 2014 02:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonwryan/10949540 to your computer and use it in GitHub Desktop.
Save jasonwryan/10949540 to your computer and use it in GitHub Desktop.
PKGBUILD for vdir branch of khal-git
# vdir branch
pkgname=khal-vdir-git
_gitname=khal
pkgver=f7146d2
pkgrel=1
pkgdesc="Command line CalDav client: vdirsyncher branch"
arch=('any')
license=("MIT")
url="http://lostpackets.de/khal/"
depends=('sqlite' 'python2-dateutil' 'python2-lxml' 'python2-requests' 'python2-icalendar' 'python2-urwid' 'python2-xdg' 'vdirsyncer-git' 'python2-argvard')
makedepends=('python2-setuptools' 'git')
options=(!emptydirs)
source=("git://github.com/geier/${_gitname}.git#branch=vdir")
install='${_gitname}.install'
conflicts=('khal-git')
md5sums=('SKIP')
pkgver() {
cd "${_gitname}"
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
package() {
cd "${srcdir}/${_gitname}/"
python2 setup.py install --root=$pkgdir
install -Dm 644 khal.conf.sample "${pkgdir}/etc/skel/khal.conf"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment