updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / rainlendar-beta-unstable / PKGBUILD
blob3049216bc926a38a0cdeb51168455cc5c22557d6
1 # Contributor: Ng Oon-Ee <ngoonee.talk@gmail.com>
2 # Based on rainlendar-beta by Blasse <koralik(at)gmail(dot)com>
3 pkgname=rainlendar-beta-unstable
4 pkgver=2.10.b113
5 pkgrel=1
6 if [ "${CARCH}" = 'i686' ]; then
7   source=(http://www.rainlendar.net/download/Rainlendar-$pkgver-i386.tar.bz2)
8   md5sums=('ef52f66b005708029dcb93a16422b07e')
9 else
10   source=(http://www.rainlendar.net/download/Rainlendar-$pkgver-amd64.tar.bz2)
11   md5sums=('e11b5c3fff7dcbcbb9d54b8063486832')
14 pkgdesc="A desktop Calendar, ToDo list and Event list. An unstable (untested) beta version."
15 arch=('i686' 'x86_64')
16 url="http://www.rainlendar.net"
17 license=('custom')
18 depends=('cairo' 'libsm' 'expat>=1.95.8' 'libstdc++5' 'libpng12')
19 conflicts=('rainlendar-lite' 'rainlendar-beta')
21 build() {
22   install -d "${pkgdir}/opt" "${pkgdir}/usr/bin" "${pkgdir}/usr/share/licenses/${pkgname}"
24   cp -R "${srcdir}/rainlendar2" "${pkgdir}/opt"
25   ln -s "/opt/rainlendar2/rainlendar2" "${pkgdir}/usr/bin/rainlendar"
26   ln -s "/opt/rainlendar2/License.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"