aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-doc-utils/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-11-10 15:41:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-10 15:41:03 +0000
commit95a96c6e234c526c5ab6bbbfdef4a8316537ef15 (patch)
tree52fbee7b5be05421c9c54413a6d49a3f6ab8b614 /main/gnome-doc-utils/APKBUILD
parent8dfe0412361a4bcebda75ba508d5d9769fe80a8b (diff)
downloadaports-95a96c6e234c526c5ab6bbbfdef4a8316537ef15.tar.bz2
aports-95a96c6e234c526c5ab6bbbfdef4a8316537ef15.tar.xz
Revert "main/gnome-doc-utils: move to community"
There are still packages in main that depends on it This reverts commit 7a663b7b3488b8c5af63bcc6ebcbacf7f7b265fb.
Diffstat (limited to 'main/gnome-doc-utils/APKBUILD')
-rw-r--r--main/gnome-doc-utils/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/gnome-doc-utils/APKBUILD b/main/gnome-doc-utils/APKBUILD
new file mode 100644
index 0000000000..e59f6f5d84
--- /dev/null
+++ b/main/gnome-doc-utils/APKBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gnome-doc-utils
+pkgver=0.20.10
+pkgrel=1
+pkgdesc="Documentation utilities for Gnome"
+url="http://www.gnome.org"
+arch="noarch"
+license="GPL LGPL"
+depends="python docbook-xml rarian py-libxml2 libxslt"
+makedepends="libxslt-dev libxml2-dev perl-xml-parser rarian-dev
+ gettext-dev intltool"
+subpackages="$pkgname-lang $pkgname-doc"
+source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-scrollkeeper \
+ || return 1
+ # broken with parallell builds
+ make -j1 || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+md5sums="3c64ad7bacd617b04999e4a168afaac5 gnome-doc-utils-0.20.10.tar.xz"