summaryrefslogtreecommitdiff
path: root/pcr/gforth/PKGBUILD
blob: 489d88f15736af5b8d507c3ed34db1c6798e3677 (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
# Maintainer: David P. <megver83@parabola.nu>
# Maintainer: Luke R. <g4jc@openmailbox.org>

pkgname=gforth
pkgver=0.7.3
pkgrel=1
url="http://www.gnu.org/software/gforth/"
pkgdesc="Fast and portable implementation of the ANS Forth language"
arch=('i686' 'x86_64' 'armv7h')
license=('GPL3')
depends=('libtool')
source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
options=('libtool')
install=$pkgname.install
sha512sums=('f034234acfb0fc727f28b564432219a100b916c6df4b847794a55b2fc3b8ed8714eca6de0df67c7c427b7c2bb4dd00f65cfd34e6eb60181e41ab84fea30304e4'
            'SKIP')
validpgpkeys=('E50D62D449FD0E193706C2358B820BB767007C30' # Bernd Paysan
              )

build() {
    cd "$srcdir/$pkgname-$pkgver"
    CFLAGS='-std=gnu99' ./configure --prefix=/usr 
    make PREFIX=/usr ${MAKEFLAGS}
}

package() {
    cd "$srcdir/$pkgname-$pkgver"
    make PREFIX=/usr DESTDIR="$pkgdir" install
}