db-move: moved webkit2gtk from [testing] to [extra] (x86_64)
[arch-packages.git] / gnome-user-docs / repos / extra-any / PKGBUILD
blob4f7c083ca82cb517b9d787e03383131dbe3b15da
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
4 pkgname=gnome-user-docs
5 pkgver=44.1
6 pkgrel=1
7 pkgdesc="User documentation for GNOME"
8 url="https://gitlab.gnome.org/GNOME/gnome-user-docs"
9 arch=(any)
10 license=(FDL)
11 depends=(yelp)
12 makedepends=(
13   git
14   yelp-tools
16 groups=(gnome)
17 _commit=84fd7d512366d1f30be73219f980624191e703c5  # tags/44.1^0
18 source=("git+https://gitlab.gnome.org/GNOME/gnome-user-docs.git#commit=$_commit")
19 b2sums=('SKIP')
21 pkgver() {
22   cd $pkgname
23   git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
26 prepare() {
27   cd $pkgname
28   NOCONFIGURE=1 ./autogen.sh
31 build() {
32   cd $pkgname
33   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
34   make
37 package() {
38   cd $pkgname
39   make DESTDIR="$pkgdir" install
42 # vim:set sw=2 sts=-1 et: