blob: cd7bcc395cf43683ff91a8769a4ab2e1a180f544 (
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.74.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=('8c66f77b1af2362362f391f67241eb75875fad6a03f6b2946634bb1203df6841')
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"
}
|