summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d606dea498f9fef4b8f9b162c1a41b99454945ee (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
# Maintainer: ponsfoot <cabezon dot hashimoto at gmail dot com>
# Contributor: Jan Jezek <honzin.jezek@gmail.com>

_pkgname=xfce4-dev-tools
pkgname=${_pkgname}-git
provides=($_pkgname)
conflicts=($_pkgname)
_gitname=$_pkgname
source=("git://git.xfce.org/xfce/${_pkgname}")
md5sums=('SKIP')

pkgver=20150313
pkgrel=1
pkgdesc="The Xfce development tools"
arch=('i686' 'x86_64')
license=('GPL2')
url="http://www.xfce.org/"
depends=('pkg-config' 'gtk-doc' 'make' 'intltool')
makedepends=('git')
options=('!libtool')

pkgver() {
  cd "${srcdir}/${_gitname}"
  git log -1 --format="%cd" --date=short | sed 's|-||g'
}

build() {    
  cd "${srcdir}/${_gitname}"

  msg "Starting build..."
  ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
    --localstatedir=/var --disable-static
  make
}

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