git » expect.git » main » tree

[main] / PKGBUILD

pkgname=expect
pkgver=5.45.4
pkgrel=1
arch=('armv7h' 'aarch64')
license=('unknown')
source=("$pkgname$pkgver.tar.gz")
depends=(glibc)

build() {
	cd "$pkgname$pkgver"
	./configure --prefix=/usr           \
            --with-tcl=/usr/lib     \
            --enable-shared         \
            --mandir=/usr/share/man \
            --with-tclinclude=/usr/include \
	    --build=$CHOST --host=$CHOST --target=$CHOST
	make
}

package() {
	cd "$pkgname$pkgver"
	make DESTDIR="$pkgdir/" install
	ln -svf expect5.45.4/libexpect5.45.4.so "$pkgdir"/usr/lib
}
sha256sums=('49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34')