blob: 10b0d30725f24a5bca70fa1af5d91832689e16ca (
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
|
# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
pkgdesc='General-purpose library specifically developed for the WPE-flavored port of WebKit.'
pkgname=libwpe-git
pkgver=1.9.1.r0.g6458ea3
pkgrel=1
url=https://github.com/WebPlatformForEmbedded/libwpe
arch=(x86_64 i686 aarch64 armv7l armv7h)
groups=(wpe)
makedepends=(mesa git meson)
provides=(libwpe libwpe-1.0.so)
conflicts=(libwpe)
replaces=(wpebackend-git)
depends=(gcc-libs libxkbcommon)
license=(custom:BSD)
source=("${pkgname}::git+${url}")
sha256sums=(SKIP)
pkgver () {
cd "${pkgname}"
(
set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
build () {
arch-meson "${pkgname}" build
meson compile -C build
}
check () {
meson test -C build --print-errorlogs
}
package () {
DESTDIR="${pkgdir}" meson install -C build
install -Dm644 "${pkgname}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
|