summaryrefslogtreecommitdiff
path: root/pcr/wayland/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/wayland/PKGBUILD')
-rw-r--r--pcr/wayland/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/pcr/wayland/PKGBUILD b/pcr/wayland/PKGBUILD
new file mode 100644
index 000000000..a6f2566ec
--- /dev/null
+++ b/pcr/wayland/PKGBUILD
@@ -0,0 +1,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
+}