From d24d09dd33df7ab340f5f9e1344fe10406c35975 Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Thu, 21 Feb 2019 00:12:58 +0100 Subject: pcr/tktreectrl: rebuilt --- pcr/tktreectrl/PKGBUILD | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'pcr/tktreectrl/PKGBUILD') diff --git a/pcr/tktreectrl/PKGBUILD b/pcr/tktreectrl/PKGBUILD index b98984fb6..b4c6b874f 100644 --- a/pcr/tktreectrl/PKGBUILD +++ b/pcr/tktreectrl/PKGBUILD @@ -1,5 +1,3 @@ -# Maintainer (Arch): Mihai Militaru -# Contributor (Arch): Foucault # Maintainer: Omar Vega Ramos pkgname=tktreectrl @@ -7,35 +5,35 @@ pkgver=2.4.1 pkgrel=1 _tkver=8.6.0 pkgdesc="A flexible listbox widget for Tk." -arch=('i686' 'x86_64') +arch=('i686' 'x86_64') url="http://tktreectrl.sourceforge.net/" license=('custom') depends=('tcl' 'tk' 'libx11') -source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz" -"http://downloads.sourceforge.net/sourceforge/tcl/tk${_tkver}-src.tar.gz") -sha1sums=('5cd7bdfd81ba8a9faf3d842ed96f5f448111a1c9' - 'c42e160285e2d26eae8c2a1e6c6f86db4fa7663b') +source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('c2d19cfc7ce8b150cb50a6b63dc6327c91fb71f76b4f2947e0334a15d5f869d3') build() { cd ${srcdir}/${pkgname}-${pkgver} + export CFLAGS="$CFLAGS -I/usr/include/tk-private/generic -I/usr/include/tk-private/unix" + if [ "$CARCH" = "x86_64" ]; then ./configure --prefix=/usr --enable-threads --enable-64bit else ./configure --prefix=/usr --enable-threads --disable-64bit fi - - sed -i \ - "s#-I\"/usr/include\" -I\"/usr/include\"#\ - -I\"/usr/include\" -I\"../tk${_tkver}/generic\" -I\"../tk${_tkver}/unix\"#\ - g" Makefile + + #sed -i \ + #"s#-I\"/usr/include\" -I\"/usr/include\"#\ + #-I\"/usr/include\" -I\"../tk${_tkver}/generic\" -I\"../tk${_tkver}/unix\"#\ + #g" Makefile make } package() { cd ${srcdir}/${pkgname}-${pkgver} - + make DESTDIR=${pkgdir} install mkdir -p ${pkgdir}/usr/share/doc/tktreectrl -- cgit v1.2.3