updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / tinypy / PKGBUILD
blob8bf3feeba104885f0d145d2db8b7324517c72b03
1 # Maintainer: Rafael G. Martins <rafael@rafaelmartins.com>
3 pkgname=tinypy
4 pkgver=1.1
5 pkgrel=1
6 pkgdesc="A minimalist implementation of python in 64k of code"
7 arch=('i686')
8 url="http://code.google.com/p/tinypy/"
9 license=('MIT')
10 makedepends=('python')
11 optdepends=('sdl: for pygame module')
12 source=(http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
13 md5sums=('1091300b72fcc1f75cafb91bea92772e')
15 build() {
16   cd ${srcdir}/${pkgname}-${pkgver}
17   python setup.py linux pygame
18   mkdir -p ${pkgdir}/usr/bin \
19            ${pkgdir}/usr/share/licenses/${pkgname}
20   install -D -m755 ${srcdir}/${pkgname}-${pkgver}/build/${pkgname} ${pkgdir}/usr/bin/
21   install -D -m644 LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE