blob: ab1edeebf35dc08e3e030a464adaf7d0ca9f317f (
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
26
27
28
29
|
# Maintainer: Kef Schecter <furrykef@gmail.com>
# Contributor: dest_demo
# Contributor: dobo <dobo90_at_gmail.com>
pkgname=igcc
pkgver=0.2
pkgrel=2
pkgdesc='Interactive GCC real-eval-print loop for C and C++ programmers'
arch=('any')
url='http://www.artificialworlds.net/wiki/IGCC/IGCC'
license=('GPL-2.0-or-later')
depends=('python2')
source=("https://codeberg.org/andybalaam/igcc/archive/igcc-$pkgver.tar.gz"
'setup.py')
b2sums=('90009b5924030a9f103666246deebaf947d3683eaecc4187221446c123dcddc429b8d63b867522033037ff2212a088e8003882d76a5490f28d01bbf7c252bf43'
'SKIP')
prepare() {
cd "$srcdir/$pkgname"
# Change shebang line to use python2
sed -i 's@#!/usr/bin/python@#!/usr/bin/python2@' igcc
}
package() {
cd "$srcdir/$pkgname"
python2 ../setup.py install --prefix=/usr --root="$pkgdir"
}
|