blob: 903a7e3c4b6b0b54af05734dded22173dcf2a09f (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Contributor: Markus Theil <aur@thillux.de>
# Contributor: Oleg Smirnov <oleg.smirnov@gmail.com>
# Contributor: Jason Taylor <jftaylor21@gmail.com>
# Contributor: Christophe Gueret <tolgam@homegnu.net>
pkgname=blt_tcl85
_pkgname=blt
pkgver=2.4z
pkgrel=2
pkgdesc="Adds new commands and widgets to the Tcl interpreter. Version for Tcl 8.5"
url="http://blt.sourceforge.net"
license=("custom")
depends=('tk85')
makedepends=('git')
provides=('blt')
conflicts=('blt')
arch=('i686' 'x86_64')
source=('git+https://github.com/thillux/blt.git'
COPYING)
md5sums=('SKIP'
'49ab6c4bd72e045108c92d839368df04')
_gitname=blt
build() {
# configure
cd ${srcdir}/${_pkgname}
./configure \
--with-tcl=/usr/lib/tcl8.5 \
--with-tclincls=/usr/include/tcl8.5 \
--with-tcllibs=/usr/lib/tcl8.5 \
--with-tk=/usr/lib/tk8.5 \
--with-tkincls=/usr/include/tk8.5 \
--with-tklibs=/usr/lib/tk8.5 \
--with-x \
--x-includes=/usr/include \
--x-libraries=/usr/lib \
--mandir=/usr/share/man
# Compile
make -j 1 || return 1
}
package() {
# Fix for the man directory
mkdir -p ${pkgdir}/usr/share/man
# Add license
mkdir -p ${pkgdir}/usr/share/licenses/blt
cp ${srcdir}/COPYING ${pkgdir}/usr/share/licenses/blt
cd ${srcdir}/${_pkgname}
make -j 1 INSTALL_ROOT=${pkgdir} install
# Delete man file, it is still owned by extra/tk
rm ${pkgdir}/usr/share/man/mann/bitmap.n
rm ${pkgdir}/usr/share/man/mann/busy.n
}
|