[arch-commits] Commit in pyorbit/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Sun Feb 26 06:28:08 EST 2012


    Date: Sunday, February 26, 2012 @ 06:28:07
  Author: pierre
Revision: 151453

upgpkg: pyorbit 2.24.0-4

rebuild old package

Modified:
  pyorbit/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-26 11:26:30 UTC (rev 151452)
+++ PKGBUILD	2012-02-26 11:28:07 UTC (rev 151453)
@@ -3,20 +3,24 @@
 
 pkgname=pyorbit
 pkgver=2.24.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Python bindings for ORBit2"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 license=('LGPL')
 url="http://www.pygtk.org"
-depends=('python2' 'orbit2>=2.14.16')
+depends=('python2' 'orbit2')
 makedepends=('pkgconfig')
 options=('!libtool')
-source=(http://ftp.gnome.org/pub/GNOME/sources/pyorbit/2.24/${pkgname}-${pkgver}.tar.bz2)
+source=("http://ftp.gnome.org/pub/GNOME/sources/pyorbit/2.24/${pkgname}-${pkgver}.tar.bz2")
 md5sums=('574593815e75ee6e98062c75d6d1581f')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr || return 1
-  make || return 1
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list