blob: 53bb81e14812638b303c425fc83a247367c53166 (
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
|
pkgname=gforth-git
pkgver=20240821
pkgrel=1
pkgdesc="Gforth is the Forth implementation of the GNU project."
arch=(i686 x86_64)
url="https://www.gnu.org/software/gforth"
license=('GPLv3')
depends=()
makedepends=("make" "git" "gforth" "texinfo" "automake" "autoconf")
provides=("gforth")
conflicts=("gforth")
source=('git+https://git.savannah.gnu.org/git/gforth.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/gforth"
git show -s --format="%ci" HEAD | sed -e 's/-//g' -e 's/ .*//'
}
build() {
cd "$srcdir/gforth"
./autogen.sh
./configure --prefix=/usr
make -j $(nproc)
make -j $(nproc) doc
make -j $(nproc) more
}
check() {
cd "$srcdir/gforth"
make -k check
}
package() {
cd "$srcdir/gforth"
make DESTDIR="$pkgdir/" install
}
|