summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3a3a7910a0b716b3427411f6c6453f4c629f87b1 (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
30
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>

pkgname=nuitka-git
pkgver=0.6.2.r0.g18a0ab3e
pkgrel=1
pkgdesc="A Python compiler"
arch=('any')
url="https://nuitka.net/"
license=('apache')
depends=('python')
makedepends=('git' 'python-setuptools')
optdepends=('chrpath: for building standalone executables')
provides=('nuitka')
conflicts=('nuitka')
options=('!emptydirs')
source=("git+https://git.nuitka.net/Nuitka.git")
sha256sums=('SKIP')


pkgver() {
  cd "Nuitka"

  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  cd "Nuitka"

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