summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0f59791e4ba4a416cf72db42e4d5dca67b016896 (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
# Maintainer: melchips <truphemus dot francois at gmail dot com>
# Contributor: Lex Black <autumn-wind at web dot de>
# Contributor: Olivier Duclos <olivier.duclos gmail.com>

pkgname=xcompmgr-git
pkgver=1.1.7.r0.ge99e569
pkgrel=1
pkgdesc="The X Composisting Manager fresh from freedesktop.org repositories"
arch=(i686 x86_64)
url="http://www.freedesktop.org/Software/xapps"
license=('MIT')
depends=('libxcomposite' 'libxdamage' 'libxrender')
makedepends=('git' 'xorg-util-macros')
provides=(xcompmgr)
conflicts=(xcompmgr xcompmgr-dana)
replaces=(xcompmgr xcompmgr-dana)
source=("$pkgname::git+git://anongit.freedesktop.org/git/xorg/app/xcompmgr")
md5sums=('SKIP')

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

build() {
  cd "$srcdir/$pkgname"
  ./autogen.sh --prefix=/usr
  make
}

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