blob: 509a55bf308f356f5c7f65b01b6b21f72cfeea74 (
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
|
# $Id$
_pkgbasename=libedit
pkgname=lib32-libedit
_pkgver=20190324_3.1
pkgver=${_pkgver/-/_}
pkgrel=1
pkgdesc='Command line editor library providing generic line editing, history, and tokenization functions (32-bit)'
url='http://www.thrysoee.dk/editline/'
arch=('x86_64')
license=('BSD')
depends=('lib32-glibc' 'lib32-ncurses' 'libedit')
makedepends=('gcc-multilib')
source=("http://www.thrysoee.dk/editline/libedit-${pkgver/_/-}.tar.gz")
sha256sums=('ac8f0f51c1cf65492e4d1e3ed2be360bda41e54633444666422fbf393bba1bae')
build() {
export CC="gcc -m32"
export CCC="g++ -m32"
export PKK_CONFIG_PATH="/usr/lib32/pkgconfig"
cd "${srcdir}/${_pkgbasename}-${_pkgver/_/-}"
./configure --prefix=/usr --enable-widec --libdir=/usr/lib32
make
}
package() {
cd "${srcdir}/${_pkgbasename}-${_pkgver/_/-}"
make install DESTDIR="${pkgdir}"
rm -rf "${pkgdir}"/usr/{include,share,bin}
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/libedit/LICENSE.x86
}
|