summaryrefslogtreecommitdiff
path: root/testing/tcsh/APKBUILD
blob: 95d031a220436720d32dfab40a9191ed7b37ca8d (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=0
pkgdesc="extended C-shell"
url="http://www.tcsh.org"
arch="all"
license="BSD"
depends=""
makedepends="ncurses-dev"
install=""
subpackages="$pkgname-doc"
source="ftp://ftp.astron.com/pub/tcsh/${pkgname}-${pkgver}.tar.gz"
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
}

md5sums="59d40ef40a68e790d95e182069431834  tcsh-6.20.00.tar.gz"
sha256sums="b89de7064ab54dac454a266cfe5d8bf66940cb5ed048d0c30674ea62e7ecef9d  tcsh-6.20.00.tar.gz"
sha512sums="c5635393c22341e62fb9a0b953ddf8871a876ab09deb08c98237f93afa9257b4a3381d1db65eefe769e22ef845db29ab7bc78773f1f609d73c8205689a6683e9  tcsh-6.20.00.tar.gz"