blob: 0e820c782dfc46c7836e2e750211311e756767da (
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
|
# Maintainer: Paulo Matias <matias@ufscar.br>
pkgname=tk-itk
pkgver=4.1.0
pkgrel=4
pkgdesc="OOP extension for Tk"
arch=('x86_64')
url="http://incrtcl.sourceforge.net/itk/"
license=('custom')
depends=('tcl' 'tk')
source=(ftp://ftp.tcl.tk/pub/tcl/itcl/itk$pkgver.tar.gz)
sha256sums=('da646199222efdc4d8c99593863c8d287442ea5a8687f95460d6e9e72431c9c7')
build() {
cd itk${pkgver}
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--enable-64bit \
--with-itcl=/$(pacman -Ql tcl | grep -Pom1 'usr/lib/itcl[\d.]+')
make
}
check() {
cd itk${pkgver}
make test
}
package() {
cd itk${pkgver}
make DESTDIR="${pkgdir}" install
install -Dm644 license.terms "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
rmdir "${pkgdir}/usr/bin"
}
|