summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8c20dea5d63359e0dab4025afdb321b38e014d5f (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
# Maintainer: Geballin - Guillaume Ballin <macniaque at free dot fr>
pkgname=iwidgets
pkgver=4.1.1
pkgrel=2
pkgdesc="A megawidget set based on [incr Tcl] and [incr Tk]"
url="https://sourceforge.net/projects/incrtcl/"
arch=('x86_64' 'i686')
license=('BSD')
depends=('tcl' 'tk' 'tk-itk')
optdepends=()
makedepends=(make gcc)
conflicts=()
replaces=()
backup=()
install=
itkvers=4.1.0
source=("https://sourceforge.net/projects/incrtcl/files/%5BIncr%20Widgets%5D/${pkgver}/${pkgname}-${pkgver}.tar.gz"
	"https://sourceforge.net/projects/incrtcl/files/%5Bincr%20Tcl_Tk%5D-4-source/itcl%20${pkgver}/itcl${pkgver}.tar.gz"
	"https://sourceforge.net/projects/incrtcl/files/%5Bincr%20Tcl_Tk%5D-4-source/itk%20${itkvers}/itk${itkvers}.tar.gz")

md5sums=(cca62e022b0d561a2bba19bd56ecc667
	198c9adb83550ffe87dbffaa5676ef54
	600df0a12868507c52d46fd59d4e1c16)

build() {
  cd ${srcdir}/itcl${pkgver}
  ./configure
  make
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr --with-itcl=${srcdir}/itcl${pkgver} --with-itk=${srcdir}/itk${itkvers}
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}