blob: 7c81abd53e1aced527b816b5243b65843cd0e818 (
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
|
# Contributor: Andreas Baumann <abaumann at yahoo dot com>
# Contributor: Chris Brannon <cmbrannon (at) cox.net>
pkgname=i686-elf-pcc-libs-git
pkgver=20250703
pkgrel=1
pkgdesc="Libraries for the Portable C Compiler."
arch=('i686' 'x86_64' 'aarch64')
url="https://github.com/PortableCC/"
license=('custom')
provides=(i686-elf-pcc-libs)
conflicts=(i686-elf-pcc-libs)
makedepends=('git')
options=('!lto')
source=($pkgname::git+https://github.com/PortableCC/pcc-libs.git license)
md5sums=('SKIP' '51f6cc02b26af53f26cfe87494ca5c87')
pkgver() {
cd "$srcdir/$pkgname"
git log -1 --date=format:"%Y%m%d" --format="%ad"
}
build() {
cd "$srcdir/$pkgname"
./configure --prefix=/usr \
--host=i386-unknown-linux \
|| return 1
make CC=gcc || return 1
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR=$pkgdir install || return 1
install -D -m0644 ${srcdir}/license ${pkgdir}/usr/share/licenses/${pkgname}/license
}
|