blob: c7c67cebea90b170639c8c81ec96be7c73893167 (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Maintainer : ????
# Contributor: Pablo Lezaeta <prflr arro'a gmail puntocom> (I tryed)
# Contributor: jyantis <yantis@yantis.net>
# Contributor: Diego Principe <cdprincipeat gmaildot com>
# Contributor: Jan Jezek <honzin.jezek@gmail.com>
# Contributor: Berseker <berseker86 at gmail dot com>
pkgname=exo-git
pkgver=0.10.6.r1635.ce731c3
pkgrel=9
pkgdesc="Extensions to Xfce originally developed by os-cillation."
arch=(i686 x86_64)
license=('GPL2' 'LGPL2.1')
url="http://git.xfce.org/xfce/exo/tree/README"
groups=('xfce4-git')
provides=("exo=$pkgver")
depends=('libxfce4util' 'gtk3>=3.20' 'glib2>=2.22.4' 'gtk2<=2.24'
'hicolor-icon-theme' 'libxfce4ui-devel' 'libsm')
makedepends=('xfce4-dev-tools' 'git' 'pkgconfig' 'libnotify' 'perl-uri' 'pygtk>=2.13')
optdepends=('libnotify: enables notification support'
'perl: enables mail-compose helper script')
conflicts=('exo')
provides=('exo')
source=('exo-git::git://git.xfce.org/xfce/exo')
options=('!libtool')
install=$pkgname.install
md5sums=('SKIP')
epoch=1
pkgver(){
cd exo
_majorversion=$(grep -F "m4_define([libexo_version_major]" configure.ac.in | awk 'BEGIN {FS = "["} {print $3}' | sed -r 's/(\[|\])//g' | sed -r 's/(\(|\))//g')
_minorversion=$(grep -F "m4_define([libexo_version_minor]" configure.ac.in | awk 'BEGIN {FS = "["} {print $3}' | sed -r 's/(\[|\])//g' | sed -r 's/(\(|\))//g')
_microversion=$(grep -F "m4_define([libexo_version_micro]" configure.ac.in | awk 'BEGIN {FS = "["} {print $3}' | sed -r 's/(\[|\])//g' | sed -r 's/(\(|\))//g')
printf "%s." "$_majorversion"
printf "%s." "$_minorversion"
printf "%s." "$_microversion"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $srcdir/exo
# Python 2 fix
export PYTHON=python2
./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/xfce4 \
--localstatedir=/var \
--disable-static \
--enable-gtk-doc \
--enable-gtk2 \
--enable-gtk3 \
--disable-debug
make
}
package() {
cd $srcdir/exo
make DESTDIR=$pkgdir install
}
|