[arch-commits] Commit in kaa-base/repos (4 files)

Felix Yan fyan at nymeria.archlinux.org
Thu Jul 3 08:17:11 UTC 2014


    Date: Thursday, July 3, 2014 @ 10:17:10
  Author: fyan
Revision: 114713

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  kaa-base/repos/extra-i686/
  kaa-base/repos/extra-i686/PKGBUILD
    (from rev 114712, kaa-base/trunk/PKGBUILD)
  kaa-base/repos/extra-x86_64/
  kaa-base/repos/extra-x86_64/PKGBUILD
    (from rev 114712, kaa-base/trunk/PKGBUILD)

-----------------------+
 extra-i686/PKGBUILD   |   26 ++++++++++++++++++++++++++
 extra-x86_64/PKGBUILD |   26 ++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

Copied: kaa-base/repos/extra-i686/PKGBUILD (from rev 114712, kaa-base/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2014-07-03 08:17:10 UTC (rev 114713)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: DonVla <donvla at users.sourceforge.net>
+
+pkgname=kaa-base
+pkgver=0.6.0
+pkgrel=5
+pkgdesc="KAA base package"
+url="http://freevo.sourceforge.net/"
+license=('GPL2')
+depends=('python2' 'glib2')
+arch=('i686' 'x86_64')
+source=(http://downloads.sourceforge.net/freevo/$pkgname-$pkgver.tar.gz)
+md5sums=('5fdac0492dbbb412c2cafe32ea8c60a8')
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  # python2 fix
+  for file in $(find . -name '*.py' -print); do
+    sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file
+    sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
+  done
+
+  python2 setup.py install --prefix=${pkgdir}/usr --optimize=1
+}

Copied: kaa-base/repos/extra-x86_64/PKGBUILD (from rev 114712, kaa-base/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2014-07-03 08:17:10 UTC (rev 114713)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: DonVla <donvla at users.sourceforge.net>
+
+pkgname=kaa-base
+pkgver=0.6.0
+pkgrel=5
+pkgdesc="KAA base package"
+url="http://freevo.sourceforge.net/"
+license=('GPL2')
+depends=('python2' 'glib2')
+arch=('i686' 'x86_64')
+source=(http://downloads.sourceforge.net/freevo/$pkgname-$pkgver.tar.gz)
+md5sums=('5fdac0492dbbb412c2cafe32ea8c60a8')
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  # python2 fix
+  for file in $(find . -name '*.py' -print); do
+    sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file
+    sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
+  done
+
+  python2 setup.py install --prefix=${pkgdir}/usr --optimize=1
+}




More information about the arch-commits mailing list