summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ca94d984e4aa77bb03e27c5c6e9417fa9e1b7835 (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
# Maintainer: Darkfish Tech <arch at darkfish dot com dot au>
# Contributor: Igor <f2404@yandex.ru>
# Contributor: GordonGR <ntheo1979@gmail.com>
# 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
pkgname="${_pkgname}-git"
pkgver=4.20pre1.r21.gcce2b58d
pkgrel=1
pkgdesc="Extensions to Xfce originally developed by os-cillation."
arch=('i686' 'x86_64')
license=('LGPL-2.1-only')
url="https://gitlab.xfce.org/xfce/exo/"
groups=('xfce4-git')
provides=("${_pkgname}=${pkgver%%.r*}")
depends=('libxfce4ui' 'libxfce4util')
makedepends=('git' 'glib2-devel' 'xfce4-dev-tools')
conflicts=("$_pkgname")
source=("${_pkgname}::git+https://gitlab.xfce.org/xfce/${_pkgname}.git")
options=('!libtool')
md5sums=('SKIP')
epoch=2

pkgver(){
  cd "${_pkgname}"
  # Pre-release versions include `xfce` in the version string;
  # other packages have this too
  # Error reported by user:shadeLight
  git describe --long --tags | sed "s/^\(${_pkgname}\|xfce\)-//g;s/\([^-]*-g\)/r\1/;s/-/./g"

}

build() {
  cd "${_pkgname}"

  #./autogen.sh --help=recursive
  ./autogen.sh \
    --prefix=/usr \
    --sysconfdir=/etc \
    --libexecdir=/usr/lib/xfce4 \
    --localstatedir=/var  \
    --disable-static \
    --enable-gtk-doc \
    --enable-debug=minimum \
    --enable-maintainer-mode
  make
}

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

# vim:set ts=2 sw=2 et: