blob: 9a95fa61c7778ded64f089521498c1a27915a544 (
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
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=gnome-doc-utils
pkgver=0.21
pkgrel=604
pkgdesc="Documentation utilities for Gnome"
arch=('any')
license=('GPL' 'LGPL')
depends=(docbook-xml rarian)
makedepends=(intltool gnome-common git)
url="https://www.gnome.org"
source=("git+https://github.com/kj-sh604/gnome-doc-utils.git")
# pkgver() {
# cd $pkgname
# git describe --tags | sed 's/-/+/g'
# }
prepare() {
cd $pkgname
rm -f m4/glib-gettext.m4
NOCONFIGURE=1 ./autogen.sh
sed -i 's/SUBDIRS = .*/SUBDIRS = /' doc/Makefile.am
}
build() {
cd "$pkgname"
PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
--sysconfdir=/etc --mandir=/usr/share/man \
--localstatedir=/var --disable-scrollkeeper
make
}
package() {
cd "$pkgname"
make DESTDIR="$pkgdir" install
}
|