db-move: moved linux-zen from [testing] to [extra] (x86_64)
[arch-packages.git] / slang / trunk / PKGBUILD
blob319b23347b5d043a8df189f0b84778c8fe13f717
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Eric Belanger <eric@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
5 pkgname=slang
6 pkgver=2.3.3
7 pkgrel=2
8 pkgdesc="S-Lang is a powerful interpreted language"
9 arch=('x86_64')
10 url="https://www.jedsoft.org/slang/"
11 license=('GPL')
12 depends=('pcre')
13 backup=('etc/slsh.rc')
14 options=('!makeflags')
15 source=(https://www.jedsoft.org/releases/slang/${pkgname}-${pkgver}.tar.bz2{,.asc})
16 sha256sums=('f9145054ae131973c61208ea82486d5dd10e3c5cdad23b7c4a0617743c8f5a18'
17             'SKIP')
18 validpgpkeys=('64083373E9E1DE997EBBE7784B82D0B82930237D')  # John E. Davis
20 build() {
21   cd ${pkgname}-${pkgver}
22   ./configure --prefix=/usr --sysconfdir=/etc
23   make
26 check() {
27   cd ${pkgname}-${pkgver}
29   [[ $CARCH = "i686" ]] || make check
32 package() {
33   cd ${pkgname}-${pkgver}
34   make DESTDIR="${pkgdir}" install-all