diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/cx_freeze |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/cx_freeze')
-rw-r--r-- | extra/cx_freeze/FreezePython.sh | 4 | ||||
-rw-r--r-- | extra/cx_freeze/PKGBUILD | 31 |
2 files changed, 35 insertions, 0 deletions
diff --git a/extra/cx_freeze/FreezePython.sh b/extra/cx_freeze/FreezePython.sh new file mode 100644 index 000000000..5bba21cac --- /dev/null +++ b/extra/cx_freeze/FreezePython.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +cd /usr/share/cx-freeze +./FreezePython "$@" diff --git a/extra/cx_freeze/PKGBUILD b/extra/cx_freeze/PKGBUILD new file mode 100644 index 000000000..ee7476c7b --- /dev/null +++ b/extra/cx_freeze/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 116705 2011-03-25 11:30:44Z schiv $ +# Maintainer: Ray Rashif <schiv@archlinux.org> +# Contributor: Douglas Soares de Andrade <douglas@archlinux.org> +# Contributor: Eric Belanger <eric@archlinux.org> +# Contributor: Roberto Alsina <ralsina@kde.org> + +pkgname=cx_freeze +_tarname=cx_Freeze +pkgver=4.2.3 +pkgrel=1 +pkgdesc="A set of utilities for freezing Python scripts into executables" +arch=('i686' 'x86_64') +url="http://www.python.net/crew/atuining/cx_Freeze/" +license=('custom') +depends=('python2') +provides=('cxfreeze') +source=("http://downloads.sourceforge.net/cx-freeze/$_tarname-$pkgver.tar.gz" + 'FreezePython.sh') +md5sums=('a524cfd23de5d37e0ec9400ba1ccd6ad' + '5cc60d1644eba12a57c22cc1348a4afd') + +package() { + cd "$srcdir/$_tarname-$pkgver" + + python2 setup.py install --root "$pkgdir/" --optimize 1 + + install -d "$pkgdir"/usr/share/cx-freeze/{bases,initscripts} + install -m755 source/bases/* "$pkgdir/usr/share/cx-freeze/bases" + install -m644 initscripts/* "$pkgdir/usr/share/cx-freeze/initscripts" + install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/cx_freeze/COPYING" +} |