PKGBUILDs/extra/cx_freeze/PKGBUILD
2009-10-09 21:23:22 -05:00

27 lines
1 KiB
Bash

# $Id: PKGBUILD 49306 2009-08-06 00:12:41Z giovanni $
# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Roberto Alsina <ralsina@kde.org>
pkgname=cx_freeze
pkgver=4.1
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=('python')
source=(http://downloads.sourceforge.net/sourceforge/cx-freeze/cx_Freeze-$pkgver.tar.gz FreezePython.sh)
build() {
cd $startdir/src/cx_Freeze-$pkgver
python setup.py install --root $startdir/pkg
install -d $startdir/pkg/usr/share/cx-freeze/{bases,initscripts}
install -m755 source/bases/* $startdir/pkg/usr/share/cx-freeze/bases
install -m644 initscripts/* $startdir/pkg/usr/share/cx-freeze/initscripts
install -D -m644 LICENSE.txt $startdir/pkg/usr/share/licenses/cx_freeze/COPYING
}
md5sums=('a096ea2b7d04edfe95c16307ba86d637'
'5cc60d1644eba12a57c22cc1348a4afd')