summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c823f65f831b83cf12348acf1afb7a88db8bd869 (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
# $Id: PKGBUILD 198265 2013-10-30 13:49:06Z allan $
# Maintainer: Jan de Groot  <jgc@archlinux.org>
pkgname=libwnck-git
pkgver=2.31.0.r3.g84eea50
pkgrel=1
pkgdesc="Window Navigator Construction Kit"
arch=('i686' 'x86_64')
license=('LGPL')
provides=('libwnck')
conflicts=('libwnck')
depends=('gtk2' 'startup-notification' 'libxres')
makedepends=('git' 'libxt' 'intltool' 'gobject-introspection' 'gnome-common')
url="http://www.gnome.org/"
source=("$pkgname::git+https://gitlab.gnome.org/GNOME/libwnck.git#branch=gnome-2-32")

sha256sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --long --tags | sed -r 's,LIBWNCK_,,;s,([^-]*-g),r\1,;s,[-_],.,g'
}

prepare() {
  cd $pkgname
  ./autogen.sh
}

build() {
  cd $pkgname
  ./configure --prefix=/usr --sysconfdir=/etc \
	--localstatedir=/var --disable-static \
	--disable-tools
  make
}

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