# Maintainer: Andrew O'Neill # Contributor: Alexander F Rødseth # Contributor: Christoph Zeiler # Contributor: Rickard Gustafsson # Contributor: Nathan Owe # Contributor: Stefan Husmann # Contributor: Alexej Magura # Contributor: Joel Klinghed # Contributor: Paweł Tomak pkgname=pike pkgver=8.0.1738 pkgrel=1 pkgdesc='Dynamic programming language with a syntax similar to Java and C' arch=('x86_64') url='http://pike.lysator.liu.se' license=('GPL-2.0-only AND LGPL-2.1-only AND MPL-1.1') depends=('sane' 'libzip' 'libmariadbclient' 'gtkglarea' 'nettle') options=('!makeflags') source=("${url}/pub/${pkgname}/all/${pkgver}/Pike-v${pkgver}.tar.gz" "${pkgname}.patch") sha256sums=('1033bc90621896ef6145df448b48fdfa342dbdf01b48fd9ae8acf64f6a31b92a' 'cd49d01f2fcd4e038cc7fe32cc10489752398d7a495e784132893a134e31f96c') prepare() { cd "Pike-v${pkgver}" patch -p1 -i ../${pkgname}.patch } build() { cd "Pike-v${pkgver}" make CONFIGUREARGS=" \ --prefix=/usr \ --libdir=/usr/lib \ --disable-make_conf \ --disable-noopty-retry \ --without-bundles \ --without-libpdf \ --without-ssleay \ --with-crypt \ --with-gif \ --with-gmp \ --with-bignums \ --without-machine-code \ --with-weak-curves \ --without-fuse" } package() { cd "Pike-v${pkgver}" make buildroot="${pkgdir}" INSTALLARGS='--traditional' install_nodoc install -Dm644 man/pike.1 "${pkgdir}/usr/share/man/man1/pike.1" }