PKGBUILDs/community/gnome-python-docs/PKGBUILD
2009-10-09 21:15:33 -05:00

36 lines
1.1 KiB
Bash
Executable file

#$Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Douglas Soares de Andrade <dsandrade@gmail.com>
pkgname=gnome-python-docs
pkgver=2.26.0
pkgrel=1
pkgdesc="Documentation for gnome-python and gnome-python-extras to be used in devhelp"
arch=(i686 x86_64)
url="http://www.pygtk.org/"
license=('unknown')
depends=('deb2targz')
options=('docs')
_name=python-gnome2-desktop-doc_2.26.0-0ubuntu3_all
_name_extra=python-gnome2-extras-doc_2.19.1-0ubuntu14_all
source=(http://ftp.osuosl.org/pub/ubuntu/pool/main/g/gnome-python-desktop/$_name.deb
http://ftp.osuosl.org/pub/ubuntu/pool/main/g/gnome-python-extras/$_name_extra.deb)
build() {
cd $startdir/src
# Thanks ubuntu devs for the packages below.
# Converting the deb packages to tar.gz
deb2targz $_name_extra.deb
deb2targz $_name.deb
# Creating the gtk-doc dir
mkdir -p $startdir/pkg/usr/share/
# Uncompressing the tar.gz files
tar -zxf $_name_extra.tar.gz
tar -zxf $_name.tar.gz
cp -R usr/share/gtk-doc $startdir/pkg/usr/share/
}
md5sums=('18f96e25517aa5ecc9edf70a89577017'
'ff821a300bf899652218686cb0b20246')