desktop/blink/PKGBUILD

47 lines
1.1 KiB
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Daniele Cocca <jmc@chakra-project.org>
#
pkgname=blink
pkgver=20120826
pkgrel=1
pkgdesc="A state of the art, easy to use SIP client. You can use it with any SIP provider or its own fully-featured SIP service."
arch=('any')
url="http://icanblink.com/"
license=('GPL')
depends=('python2' 'pyqt' 'python2-sipsimple')
makedepends=('darcs')
categories=('communication')
source=('blink.desktop')
md5sums=('1260b2ed4d21b24ee62ad1901087f8ac')
_darcstrunk="http://devel.ag-projects.com/repositories"
_darcsmod="blink-qt"
build() {
msg "Starting Darcs pull..."
cd "${srcdir}"
if [ -d "${_darcsmod}/_darcs" ]; then
(cd "${_darcsmod}" && darcs pull -a)
else
darcs get "${_darcstrunk}/${_darcsmod}" "${_darcsmod}"
fi
msg "Darcs pull done (or server timeout)."
}
package() {
cd "${srcdir}/${_darcsmod}"
python2 setup.py install --prefix=/usr --root="${pkgdir}"
install -D -m644 "${srcdir}/blink.desktop" \
"${pkgdir}/usr/share/applications/blink.desktop"
}
# vim:set ts=2 sw=2 et: