[arch-commits] Commit in libwpe/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Mon Sep 9 21:06:46 UTC 2019
Date: Monday, September 9, 2019 @ 21:06:46
Author: heftig
Revision: 362085
1.3.91-1: libwpe for webkit2gtk
Added:
libwpe/trunk/PKGBUILD
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Added: PKGBUILD
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-09-09 21:06:46 UTC (rev 362085)
@@ -0,0 +1,34 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=libwpe
+pkgver=1.3.91
+pkgrel=1
+pkgdesc="General-purpose library for WPE WebKit"
+url="https://wpewebkit.org/"
+arch=(x86_64)
+license=(custom)
+depends=(libxkbcommon gcc-libs)
+makedepends=(cmake mesa)
+source=($url/releases/$pkgname-$pkgver.tar.xz{,.asc})
+sha256sums=('34d2e7057700d5cfaead4e554fe253d30613279f2e7b9e3ea4a307f06799f93f'
+ 'SKIP')
+validpgpkeys=('5AA3BC334FD7E3369E7C77B291C559DBE4C9123B') # Adrián Pérez de Castro <aperez at igalia.com>
+
+prepare() {
+ cd $pkgname-$pkgver
+}
+
+build() {
+ cmake -H$pkgname-$pkgver -Bbuild \
+ -DCMAKE_BUILD_TYPE=Plain \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --build build --target install
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" $pkgname-$pkgver/COPYING
+}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list