blob: 311ab960fb8c1ec5505b3d046e271a46ee343420 (
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
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: graysky <therealgraysky AT protonmail DOT com>
# Contributor: Ivan Shapovalov <intelfx@intelfx.name>
# Contributor: goodmen <goodmenzy@gmail.com>
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
}
|