summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dd01380d98345cf55d21ae4a0e41b7ab024ef67c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>

pkgname=shedskin
pkgver=0.9.8
pkgrel=1
pkgdesc='Python to C++ compiler'
arch=('any')
url='https://shedskin.github.io/'
license=('GPL2')
depends=('pcre' 'gc' 'python')
makedepends=('git' 'python-setuptools')
source=("git+https://github.com/shedskin/shedskin.git#tag=v$pkgver")
sha256sums=('SKIP')

prepare() {
  sed -i 's:bin/python:usr/bin/python:' "$pkgname/scripts/$pkgname"
}

package() {
  cd "$pkgname"

  python setup.py install --root="$pkgdir"/
}

# vim: ts=2 sw=2 et: