[arch-commits] Commit in libhttpseverywhere/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Mon Apr 17 01:46:33 UTC 2017
Date: Monday, April 17, 2017 @ 01:46:15
Author: heftig
Revision: 293042
0.4.1-2: normalize meson build and activate valadoc
Modified:
libhttpseverywhere/trunk/PKGBUILD (contents, properties)
----------+
PKGBUILD | 41 ++++++++++++++++++++++++-----------------
1 file changed, 24 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-04-17 01:43:47 UTC (rev 293041)
+++ PKGBUILD 2017-04-17 01:46:15 UTC (rev 293042)
@@ -1,37 +1,44 @@
+# $Id$
# 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.1
+pkgrel=2
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')
+arch=(i686 x86_64)
+license=(LGPL3)
+depends=(libgee libxml2 libarchive libsoup glib2 json-glib)
+makedepends=(meson valadoc gobject-introspection git)
_commit=4004c50f377efb52dd09c13ade1a944571b43c80 # tags/0.4.1^0
source=("git+https://git.gnome.org/browse/libhttpseverywhere#commit=$_commit")
-md5sums=('SKIP')
+sha256sums=('SKIP')
-
pkgver() {
- cd $srcdir/$pkgname
- git describe --tags | sed 's/-/+/g'
+ cd $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"
+ mkdir build
+ cd $pkgname
}
+
+check() {
+ cd build
+ ninja test
+}
+
build() {
- cd "$srcdir/$pkgname/build"
- ninja
+ cd build
+ export LANG=en_US.UTF-8
+ meson --prefix=/usr --buildtype=release ../$pkgname \
+ -Denable_valadoc=true
+ ninja
}
package() {
- cd "$srcdir/$pkgname/build"
- DESTDIR="$pkgdir" ninja install
+ cd build
+ DESTDIR="$pkgdir" ninja install
}
Property changes on: libhttpseverywhere/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list