4 pkgdesc="Wayland Compositor Library"
5 url="https://github.com/Cloudef/wlc"
9 "libdrm" "pixman" "xcb-util-image" "xcb-util-wm"
10 "wayland" "wayland-protocols" "libxkbcommon" "libinput" "libgl"
14 "https://github.com/Cloudef/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2"
15 "https://github.com/Cloudef/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2.asc"
16 wlc-missing-header.patch
18 sha256sums=('c2061f5d6c627688ea8b822ac5f4d3ba4d407b3f8d79267677ce4011b6390d22'
20 '605a7d7b5d5d3b5c771ee9e262836b6073be89aa5737328b66ebe835bec828a6')
22 "C2AA3C3A6F9B1F932014879EF769BB961AF6D26A"
23 "9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A" # Drew DeVault <sway@cmpwn.com>
28 patch -p1 -i ../wlc-missing-header.patch
35 cmake "$srcdir/$pkgname-$pkgver" \
36 -DCMAKE_BUILD_TYPE=Upstream \
37 -DCMAKE_INSTALL_LIBDIR=/usr/lib \
38 -DCMAKE_INSTALL_PREFIX=/usr
49 make DESTDIR="$pkgdir" install
50 install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"