# Maintainer: graysky # Contributor: Ivan Shapovalov # Contributor: goodmen pkgname=crosstool-ng-git epoch=1 pkgver=crosstool.ng.1.25.0.33 pkgrel=1 pkgdesc="crosstool-NG aims at building toolchains." arch=('x86_64' 'armv6h' 'armv7h' 'aarch64') url="http://crosstool-ng.org/" license=('GPL') depends=('ncurses' 'make' 'rsync') makedepends=('git' 'flex' 'bison' 'gperf' 'help2man' 'unzip' 'lzip' 'python') provides=('crosstool-ng') conflicts=('crosstool-ng') source=('git+https://github.com/crosstool-ng/crosstool-ng.git') b2sums=('SKIP') pkgver() { cd crosstool-ng git describe --long | sed -r 's/-([0-9,a-g,A-G]{7}.*)//' | sed 's/-/./g' } #prepare () { #cd crosstool-ng #git pull --no-edit origin pull/1368/head #} build () { cd crosstool-ng ./bootstrap ./configure --prefix=/usr make } package () { cd crosstool-ng make DESTDIR="$pkgdir" install }