[arch-commits] Commit in (4 files)
Jan de Groot
jgc at archlinux.org
Wed Apr 5 12:59:50 UTC 2017
Date: Wednesday, April 5, 2017 @ 12:59:49
Author: jgc
Revision: 292123
Add new package
Added:
libhttpseverywhere/
libhttpseverywhere/repos/
libhttpseverywhere/trunk/
libhttpseverywhere/trunk/PKGBUILD
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Added: libhttpseverywhere/trunk/PKGBUILD
===================================================================
--- libhttpseverywhere/trunk/PKGBUILD (rev 0)
+++ libhttpseverywhere/trunk/PKGBUILD 2017-04-05 12:59:49 UTC (rev 292123)
@@ -0,0 +1,37 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Adrià Arrufat (archdria) <adria dot arrufat at protonmail ldot ch>
+
+pkgname=libhttpseverywhere
+pkgrel=1
+pkgver=0.4.0+4+g630aa93
+pkgdesc="library to use HTTPSEverywhere in desktop applications"
+arch=('i686' 'x86_64')
+url="https://git.gnome.org/browse/libhttpseverywhere"
+license=('LGPL3')
+depends=('libgee' 'libxml2' 'libarchive' 'libsoup' 'glib2' 'json-glib')
+makedepends=('meson' 'ninja' 'vala' 'valadoc' 'gobject-introspection' 'git')
+_commit=630aa93859048487414c1172ea5751214655efed # master
+source=("git+https://git.gnome.org/browse/libhttpseverywhere#commit=$_commit")
+md5sums=('SKIP')
+
+
+pkgver() {
+ cd $srcdir/$pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd "$srcdir/$pkgname"
+ mkdir -p "$srcdir/$pkgname/build"
+ cd "$srcdir/$pkgname/build"
+ meson --prefix "/usr" --libdir "lib"
+}
+build() {
+ cd "$srcdir/$pkgname/build"
+ ninja
+}
+
+package() {
+ cd "$srcdir/$pkgname/build"
+ DESTDIR="$pkgdir" ninja install
+}
More information about the arch-commits
mailing list