updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rainlendar-lite / PKGBUILD
blob1118956f16d6e007be04ae527d4e3f5bd96c94f9
1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
2 # Contributor: ronny <ronny63@gmail.com>
3 # Contributor: Massimiliano Brocchini <proc80@gmail.com>
5 pkgname=rainlendar-lite
6 pkgver=2.9
7 pkgrel=1
8 pkgdesc="A desktop Calendar, ToDo list and Event list"
9 arch=('i686' 'x86_64')
10 url="http://www.rainlendar.net/"
11 license=('custom')
12 depends=('curl' 'gtk2' 'glibc' 'expat' 'libsm' 'libstdc++5' 'libpng12' 'libjpeg6')
13 provides=('rainlendar2')
14 conflicts=('rainlendar-beta')
16 if [ "${CARCH}" = 'x86_64' ]; then
17     source=(http://www.rainlendar.net/download/Rainlendar-Lite-$pkgver-amd64.tar.bz2)
18     md5sums=('f9c9813c81884db00a048fd1b1c241eb')
19   else
20     source=(http://www.rainlendar.net/download/Rainlendar-Lite-$pkgver-i386.tar.bz2)
21     md5sums=('9d885f10be25536b15762acbc00dc724')
24 package() {
25   cd ${srcdir}
27   install -d ${pkgdir}/opt ${pkgdir}/usr/bin \
28     ${pkgdir}/usr/share/licenses/$pkgname ${pkgdir}/usr/lib
30   cp -R ${srcdir}/rainlendar2 ${pkgdir}/opt
31   ln -s /opt/rainlendar2/rainlendar2 ${pkgdir}/usr/bin/rainlendar
32   ln -s /opt/rainlendar2/License.txt ${pkgdir}/usr/share/licenses/$pkgname/LICENSE