updated on Fri Jan 6 08:01:17 UTC 2012
[aur-mirror.git] / clips / PKGBUILD
blobc5ac70c8113436833fc0789b1e032c3e336681c6
1 # Maintainer: Thomas td123 Dziedzic <gostrc@gmail.com>
2 # Contributor: Ivan c00kiemon5ter Kanakarakis <ivan.kanak@gmail.com>
3 # Contributor: jht <stefano@inventati.org>
5 pkgname=clips
6 pkgver=6.24
7 pkgrel=3
8 pkgdesc='A Tool for Building Expert Systems'
9 arch=('i686' 'x86_64')
10 url="http://clipsrules.sourceforge.net/"
11 license=('custom')
12 depends=('termcap' 'libxaw' 'xbitmaps')
13 install='clips.install'
14 source=('http://downloads.sourceforge.net/clipsrules/clips_core_source_624.tar.Z'
15         'http://downloads.sourceforge.net/clipsrules/x_windows_ide_source_624.tar.Z'
16         'http://downloads.sourceforge.net/clipsrules/make_and_help_files_624.zip')
17 sha256sums=('80852a0df97597f710e90ca8bf5ecdc250c2034bf9dd3044bbedee111ad2e4ab'
18             '66429eb818559323f5e90bd7b3c1e4f88af409a30a3433111a1d85bc7c789d09'
19             '302712bbc2634cc437e6a7617d41ba54933ad6ffe5e01f0f869e9d7bc2cae9b8')
21 build() {
22   cd ${pkgname}src/${pkgname}src
24   cp -a ../../x-prjct/color/* .
25   cp -a ../../x-prjct/makefile/* .
26   cp -a ../../x-prjct/xinterface/* .
28   make -f makefile.x
30   make -f ../../makefile.gcc
33 package() {
34   cd ${pkgname}src/${pkgname}src
36   install -D -m755 xclips \
37     ${pkgdir}/usr/bin/clips
38   install -D -m755 clips \
39     ${pkgdir}/usr/bin/clips-console
40   install -D -m644 ../readme.txt \
41     ${pkgdir}/usr/share/licenses/clips/LICENSE