summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 227c0933b76bb44b4be9903750e3048af3b63570 (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
pkgname=gnome-user-docs-git
_pkgname=gnome-user-docs
pkgver=3.35.92+16+ga7bd575c
pkgrel=1
pkgdesc="User documentation for GNOME"
url="https://gitlab.gnome.org/GNOME/gnome-user-docs"
arch=(any)
license=(FDL)
depends=('yelp')
makedepends=('yelp-tools' 'git')
provides=('gnome-user-docs')
conflicts=('gnome-user-docs')
source=("git+https://gitlab.gnome.org/GNOME/gnome-user-docs.git")
sha256sums=('SKIP')

pkgver() {
  cd $_pkgname
  git describe --tags | sed 's/-/+/g'
}

prepare() {
  cd $_pkgname
  NOCONFIGURE=1 ./autogen.sh
}
  

build() {
  cd $_pkgname
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  make
}

package() {
  cd $_pkgname
  make DESTDIR="$pkgdir" install
}