aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tcsh/APKBUILD
blob: 3c713ab4122c49cd2fb89efd7e7037ed4d617cc6 (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
38
# Contributor:
# Maintainer:
pkgname=tcsh
pkgver=6.20.00
pkgrel=2
pkgdesc="extended C-shell"
url="http://www.tcsh.org"
arch="all"
license="BSD"
depends=""
makedepends="ncurses-dev"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
subpackages="$pkgname-doc"
source="ftp://ftp.astron.com/pub/tcsh/${pkgname}-${pkgver}.tar.gz
	001-sysmalloc.patch"
builddir="$srcdir/tcsh-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--bindir=/bin \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-nls
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	rm -rf "$pkgdir"/usr/share/locale
}

sha512sums="c5635393c22341e62fb9a0b953ddf8871a876ab09deb08c98237f93afa9257b4a3381d1db65eefe769e22ef845db29ab7bc78773f1f609d73c8205689a6683e9  tcsh-6.20.00.tar.gz
40149d8eb2fc0fe5184f3c24c7a1b728e881cc0048ccd37a986c3b2d2094499ec1c37ae2bae4c209fb8a847aa943e83e81f79e3d2f55c59990bc00d9d07f5a94  001-sysmalloc.patch"