diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2019-02-21 00:12:58 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2019-02-21 00:12:58 +0100 |
commit | d24d09dd33df7ab340f5f9e1344fe10406c35975 (patch) | |
tree | ce2576e40d0dd4355594bfa90ffea07acfb2122a /pcr/tktreectrl/PKGBUILD | |
parent | 877aac17acf08ce22c47ca1053350353e117387b (diff) | |
download | abslibre-d24d09dd33df7ab340f5f9e1344fe10406c35975.tar.gz abslibre-d24d09dd33df7ab340f5f9e1344fe10406c35975.tar.bz2 abslibre-d24d09dd33df7ab340f5f9e1344fe10406c35975.zip |
pcr/tktreectrl: rebuilt
Diffstat (limited to 'pcr/tktreectrl/PKGBUILD')
-rw-r--r-- | pcr/tktreectrl/PKGBUILD | 24 |
1 files changed, 11 insertions, 13 deletions
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 <mihai dot militaru at xmpp dot ro> -# Contributor (Arch): Foucault <foucault.online@gmail.com> # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> 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 |