Commit 9550ad2c authored by Natanael Copa's avatar Natanael Copa

testing/tcsh: cleanup

parent dea5ad8e
......@@ -12,28 +12,25 @@ makedepends="ncurses-dev"
install=""
subpackages="$pkgname-doc"
source="ftp://ftp.astron.com/pub/tcsh/${pkgname}-${pkgver}.tar.gz"
builddir="$srcdir/"
builddir="$srcdir/tcsh-$pkgver"
build() {
cd "$builddir/$pkgname-$pkgver"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--bindir=/bin \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--with-curses \
--disable-nls
make
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/$pkgname-$pkgver"
make DESTDIR=${pkgdir} install || return 1
rm -rf "$pkgdir"/usr/share/locale
cd "$builddir"
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/share/locale
}
md5sums="59d40ef40a68e790d95e182069431834 tcsh-6.20.00.tar.gz"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment