Date: Friday, March 9, 2018 @ 19:50:46
  Author: jelle
Revision: 318357

archrelease: copy trunk to community-x86_64

Added:
  slang/repos/community-x86_64/
  slang/repos/community-x86_64/PKGBUILD
    (from rev 318356, slang/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: slang/repos/community-x86_64/PKGBUILD (from rev 318356, 
slang/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2018-03-09 19:50:46 UTC (rev 318357)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Eric Belanger <[email protected]>
+# Contributor: Tom Newsom <[email protected]>
+
+pkgname=slang
+pkgver=2.3.2
+pkgrel=1
+pkgdesc="S-Lang is a powerful interpreted language"
+arch=('x86_64')
+url="http://www.jedsoft.org/slang/";
+license=('GPL')
+depends=('pcre')
+backup=('etc/slsh.rc')
+options=('!makeflags')
+source=(http://www.jedsoft.org/releases/slang/${pkgname}-${pkgver}.tar.bz2{,.asc})
+sha1sums=('bbf7f2dcc14e7c7fca40868fd4b411a2bd9e2655'
+          'SKIP')
+validpgpkeys=('AE962A02D29BFE4A4BB2805FDE401E0D5873000A')  # John E. Davis
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr --sysconfdir=/etc
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+
+  [[ $CARCH = "i686" ]] || make check
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install-all
+}

Reply via email to