PKGBUILDs/community/gtk2-docs/PKGBUILD

37 lines
1.1 KiB
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Douglas Soares de Andrade <dsa@aur.archlinux.org>
# Contributor: Sven Salzwedel <sven_salzwedel@web.de>
pkgname=gtk2-docs
pkgver=2.16.2
pkgrel=1
pkgdesc="Documentation for gtk2 to be used in devhelp"
arch=("i686" "x86_64")
license=('GPL')
url="http://library.gnome.org/devel/gtk/stable/"
source=(ftp://ftp.gnome.org/pub/gnome/sources/gtk+/2.16/gtk+-${pkgver}.tar.bz2)
build () {
# Create destination dirs
install -d ${startdir}/pkg/usr/share/devhelp/books/gtk
install -d ${startdir}/pkg/usr/share/devhelp/books/gdk
install -d ${startdir}/pkg/usr/share/devhelp/books/gdk-pixbuf
# Install documentation to destination
install -D -m 644 \
${startdir}/src/gtk+-${pkgver}/docs/reference/gtk/html/* \
${startdir}/pkg/usr/share/devhelp/books/gtk
install -D -m 644 \
${startdir}/src/gtk+-${pkgver}/docs/reference/gdk/html/* \
${startdir}/pkg/usr/share/devhelp/books/gdk
install -D -m 644 \
${startdir}/src/gtk+-${pkgver}/docs/reference/gdk-pixbuf/html/* \
${startdir}/pkg/usr/share/devhelp/books/gdk-pixbuf
}
# vim:set ts=2 sw=2 et:
md5sums=('396e98df15f6e4005e360b5710660ce3')