diff options
Diffstat (limited to 'extra/pygobject/PKGBUILD')
-rw-r--r-- | extra/pygobject/PKGBUILD | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/extra/pygobject/PKGBUILD b/extra/pygobject/PKGBUILD index 44cf408a9..30d565001 100644 --- a/extra/pygobject/PKGBUILD +++ b/extra/pygobject/PKGBUILD @@ -1,21 +1,21 @@ -# $Id: PKGBUILD 141033 2011-10-22 07:52:40Z ibiru $ +# $Id: PKGBUILD 145056 2011-12-15 22:17:57Z ibiru $ # Maintainer: Ionut Biru <ibiru@archlinux.org> pkgbase=pygobject pkgname=(python-gobject python2-gobject pygobject-devel) -pkgver=3.0.2 +pkgver=3.0.3 pkgrel=1 arch=('i686' 'x86_64') url="https://live.gnome.org/PyGObject" license=('LGPL') makedepends=('python' 'python2' 'python-cairo' 'python2-cairo' 'gobject-introspection') -source=(http://ftp.gnome.org/pub/gnome/sources/${pkgbase}/${pkgver%.*}/${pkgbase}-${pkgver}.tar.xz) +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz) options=('!libtool') -sha256sums=('e1eccc37afd2d4cbeb329b92ce3d71287d662dc2fec430c08a0471153e52a462') +sha256sums=('088b1e682be02a969a0a3f2e650e4fe72bb3638ee8229819841d3e8f4cde2d7c') build() { - cd "${srcdir}" - cp -a "${pkgbase}-${pkgver}" python2-build + cd "$srcdir" + cp -a "$pkgbase-$pkgver" python2-build mkdir devel ( @@ -26,7 +26,7 @@ build() { ) ( - cd "${pkgbase}-${pkgver}" + cd "$pkgbase-$pkgver" ./configure --prefix=/usr make ) @@ -34,26 +34,26 @@ build() { package_python-gobject() { pkgdesc="Python 3 bindings for GObject" - depends=('gobject-introspection' 'python-cairo' "pygobject-devel=${pkgver}") + depends=('gobject-introspection' 'python-cairo' "pygobject-devel=$pkgver") - cd "${srcdir}/${pkgbase}-${pkgver}" - make DESTDIR="${pkgdir}" install - rm -r "${pkgdir}"/usr/{include,lib/pkgconfig} + cd "$srcdir/$pkgbase-$pkgver" + make DESTDIR="$pkgdir" install + rm -r "$pkgdir"/usr/{include,lib/pkgconfig} } package_python2-gobject() { pkgdesc="Python 2 bindings for GObject" - depends=('gobject-introspection' 'python2-cairo' "pygobject-devel=${pkgver}") + depends=('gobject-introspection' 'python2-cairo' "pygobject-devel=$pkgver") - cd "${srcdir}/python2-build" - make DESTDIR="${pkgdir}" install - mv "${pkgdir}"/usr/{include,lib/pkgconfig} "${srcdir}/devel" + cd "$srcdir/python2-build" + make DESTDIR="$pkgdir" install + mv "$pkgdir"/usr/{include,lib/pkgconfig} "$srcdir/devel" } package_pygobject-devel() { pkgdesc="Development files for the pygobject bindings" - cd "${srcdir}/devel" - mkdir -p "${pkgdir}"/usr/{include,lib} - mv include "${pkgdir}/usr/" - mv pkgconfig "${pkgdir}/usr/lib/" + cd "$srcdir/devel" + mkdir -p "$pkgdir"/usr/{include,lib} + mv include "$pkgdir/usr/" + mv pkgconfig "$pkgdir/usr/lib/" } |