mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 05:47:14 +08:00
31 lines
1.0 KiB
Bash
31 lines
1.0 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]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"
|
|
} |