summaryrefslogtreecommitdiff
path: root/pcr/wayland/PKGBUILD
blob: a6f2566ecddd942e6a8cfd584d903722af194e2d (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
# Maintainer: Márcio Silva <coadde@lavabit.com>

pkgname=wayland
pkgver=0.95.0
pkgrel=2
pkgdesc='A modern display server.'
arch=(
  i686
  x86_64
  mips64el
)
url=http://wayland.freedesktop.org
license=(
  MIT
)
depends=(
  expat
  libffi
)
options=(
  !libtool
)
conflicts=(
  $pkgname-git
)
source=(
  http://$pkgname.freedesktop.org/releases/$pkgname-$pkgver.tar.xz
)
sha1sums=(
  4a7e49256f3d4a61add3cf70d74f02abb5b243a2
)

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
  install -m755 -d $pkgdir/usr/share/licenses/$pkgname
  install -m644 COPYING $pkgdir/usr/share/licenses/$pkgname
}