diff options
author | root <root@rshg054.dnsready.net> | 2013-01-28 00:05:59 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-01-28 00:05:59 -0800 |
commit | 1b9f6dc846379470b620b5dbb9d4d7acd1de148c (patch) | |
tree | 2305b950a3c94970b05c1a38af473f5cca95af02 /community/cx_freeze | |
parent | b9b96ada56ad38df20b1e528a095a1e86ab67a2b (diff) |
Mon Jan 28 00:05:59 PST 2013
Diffstat (limited to 'community/cx_freeze')
-rw-r--r-- | community/cx_freeze/FreezePython.sh | 4 | ||||
-rw-r--r-- | community/cx_freeze/PKGBUILD | 31 |
2 files changed, 35 insertions, 0 deletions
diff --git a/community/cx_freeze/FreezePython.sh b/community/cx_freeze/FreezePython.sh new file mode 100644 index 000000000..5bba21cac --- /dev/null +++ b/community/cx_freeze/FreezePython.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +cd /usr/share/cx-freeze +./FreezePython "$@" diff --git a/community/cx_freeze/PKGBUILD b/community/cx_freeze/PKGBUILD new file mode 100644 index 000000000..383748df3 --- /dev/null +++ b/community/cx_freeze/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 83132 2013-01-27 16:11:45Z pierre $ +# 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=2 +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" +} |