1 # Maintainer: dawn <crackofdusk at gmail dot com>
3 pkgname="urxvt-url-select-git"
6 pkgdesc="mouseless url yanking for rxvt-unicode (urxvt)"
8 depends=('rxvt-unicode')
9 conflicts=('urxvt-url-select')
10 install=('urxvt-url-select.install')
12 url='http://www.github.com/muennich/urxvt-perls'
14 _gitroot="http://github.com/muennich/urxvt-perls.git"
15 _gitname="urxvt-perls"
16 _extension="url-select"
21 msg "Connecting to GIT server..."
22 if [[ -d $_gitname ]]; then
23 (cd $_gitname && git pull origin) || return 1
25 git clone $_gitroot $_gitname || return 1
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 cd $_gitname || return 1
34 install -Dm644 ${_extension} \
35 ${pkgdir}/usr/lib/urxvt/perl/${_extension}