blob: be691a23c5273ec986e3cdb4f70e5de66d17aa6b (
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
30
31
32
33
34
35
36
37
38
|
# Maintainer: Evgeny Cherkashin <eugeneai@irnok.net>
pkgname=logtalk
pkgver=3.85.0
pkgrel=1
pkgdesc='Object-Oriented Logic Programming Language'
arch=('x86_64' 'i686')
url='http://logtalk.org/'
license=('APACHE')
depends=('bash')
makedepends=()
optdepends=(
'swi-prolog: Prolog backend for logtalk'
'gprolog: Prolog backend for logtalk'
'yap: Prolog backend for logtalk'
)
source=("https://logtalk.org/files/logtalk-${pkgver}.tar.bz2")
sha256sums=('a497963dfd8bb8f1a613c3a97a481558c95161bba842f868982966ef69ed6c04')
conflicts=()
provides=('logtalk')
install=logtalk.install
package() {
LOGTALKPREFIX="$pkgdir/usr/lib/$pkgname"
mkdir -p "$LOGTALKPREFIX"
mkdir -p "$pkgdir/usr/bin"
cd "logtalk-${pkgver}"
scripts/install.sh -p "$LOGTALKPREFIX" > /dev/null 2>&1
for file in $LOGTALKPREFIX/bin/*; do
cp $file $pkgdir/usr/bin
done
install -Dm 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|