summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3ea05bbde3938fe9b624c3f63729250822ea6456 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Maintainer: Gavin Lloyd <gavinhungry@gmail.com>

_pkgname=orage
pkgname=$_pkgname-4.10
pkgver=4.10.0
pkgrel=2
pkgdesc="A simple calendar application with reminders for Xfce"
arch=('i686' 'x86_64')
license=('GPL2')
url="http://www.xfce.org/projects/"
groups=('xfce4-goodies')
depends=('xfce4-panel' 'libical' 'popt' 'libnotify')
makedepends=('intltool')
conflicts=('xfcalendar' 'orage')
provides=('orage')
replaces=('xfcalendar' 'orage')
source=(http://archive.xfce.org/src/apps/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.bz2
        libical3.patch)
sha256sums=('6cb854f3437e31bab23abfce97bd10afa1636a9a1480d80e14e26c85d06be7c0'
            'c9da6ce0e03f9072b16a554ea3e30ed453d5bcb3fb0fdab8b4574582cd375602')

prepare() {
  cd "$srcdir/$_pkgname-$pkgver"

  # https://bugzilla.redhat.com/show_bug.cgi?id=1512302
  patch -Np1 -i ../libical3.patch
}

build() {
  cd "$srcdir/$_pkgname-$pkgver"

  ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --libexecdir=/usr/lib \
    --localstatedir=/var \
    --enable-libical \
    --disable-debug
  make
}

package() {
  cd "$srcdir/$_pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}