[arch-commits] Commit in wlc/repos (4 files)
Jerome Leclanche
jleclanche at archlinux.org
Sat Apr 16 14:17:37 UTC 2016
Date: Saturday, April 16, 2016 @ 16:17:36
Author: jleclanche
Revision: 171177
archrelease: copy trunk to community-i686, community-x86_64
Added:
wlc/repos/community-i686/
wlc/repos/community-i686/PKGBUILD
(from rev 171176, wlc/trunk/PKGBUILD)
wlc/repos/community-x86_64/
wlc/repos/community-x86_64/PKGBUILD
(from rev 171176, wlc/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+)
Copied: wlc/repos/community-i686/PKGBUILD (from rev 171176, wlc/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-04-16 14:17:36 UTC (rev 171177)
@@ -0,0 +1,36 @@
+# $Id$
+pkgname=wlc
+pkgver=0.0.2
+pkgrel=1
+pkgdesc="Wayland Compositor Library"
+url="https://github.com/Cloudef/wlc"
+arch=("i686" "x86_64")
+license=("MIT")
+depends=(
+ "libdrm" "pixman" "xcb-util-image" "xcb-util-wm"
+ "wayland" "wayland-protocols" "libxkbcommon" "libinput" "libgl"
+)
+makedepends=("cmake")
+source=("https://github.com/Cloudef/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2")
+sha256sums=("f430c81197a2157487c597206c1020eab81788b2673929c6118b95376af5e7cd")
+
+build() {
+ mkdir -p build
+ cd build
+ cmake "$srcdir/$pkgname-$pkgver" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+check() {
+ cd build
+ make test
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
Copied: wlc/repos/community-x86_64/PKGBUILD (from rev 171176, wlc/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-04-16 14:17:36 UTC (rev 171177)
@@ -0,0 +1,36 @@
+# $Id$
+pkgname=wlc
+pkgver=0.0.2
+pkgrel=1
+pkgdesc="Wayland Compositor Library"
+url="https://github.com/Cloudef/wlc"
+arch=("i686" "x86_64")
+license=("MIT")
+depends=(
+ "libdrm" "pixman" "xcb-util-image" "xcb-util-wm"
+ "wayland" "wayland-protocols" "libxkbcommon" "libinput" "libgl"
+)
+makedepends=("cmake")
+source=("https://github.com/Cloudef/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2")
+sha256sums=("f430c81197a2157487c597206c1020eab81788b2673929c6118b95376af5e7cd")
+
+build() {
+ mkdir -p build
+ cd build
+ cmake "$srcdir/$pkgname-$pkgver" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+check() {
+ cd build
+ make test
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list