summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e860a4a874cac015494ab10a52dcf66e9d0da234 (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
46
47
# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: Baurzhan Muftakhidinov <baurthefirst@gmail.com>
# Contributor: Pablo Lezaeta <prflr88@gmail.com>

_pkgname=orage
pkgname=${_pkgname}-git
pkgver=4.12.1.r319.g11aa2e5f
pkgrel=1
pkgdesc="A simple calendar application with reminders for Xfce"
arch=("i686" "x86_64")
license=('GPL2')
url="http://www.xfce.org"
groups=('xfce4-git')
depends=('hicolor-icon-theme' 'xfce4-panel-git' 'libnotify')
makedepends=('git' 'intltool' 'pkgconfig' 'xfce4-dev-tools-git')
provides=("orage")
conflicts=("orage")
source=("${_pkgname}::git://git.xfce.org/apps/$_pkgname")
md5sums=('SKIP')

pkgver() {
	cd "${_pkgname}"
    git describe --long | sed 's/^orage-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {

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

}

build() {
    
    cd "${srcdir}/${_pkgname}"
    
  ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib  \
    --localstatedir=/var --disable-static --enable-debug=minimum \
   --enable-maintainer-mode
  make
}

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