[arch-commits] Commit in (wlc wlc/repos wlc/trunk wlc/trunk/PKGBUILD)
Jerome Leclanche
jleclanche at archlinux.org
Sat Apr 16 14:17:06 UTC 2016
Date: Saturday, April 16, 2016 @ 16:17:05
Author: jleclanche
Revision: 171176
wlc: Moved from AUR
Added:
wlc/
wlc/repos/
wlc/trunk/
wlc/trunk/PKGBUILD
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Added: wlc/trunk/PKGBUILD
===================================================================
--- wlc/trunk/PKGBUILD (rev 0)
+++ wlc/trunk/PKGBUILD 2016-04-16 14:17:05 UTC (rev 171176)
@@ -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"
+}
Property changes on: wlc/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list