aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tcsh/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tcsh/APKBUILD')
-rw-r--r--testing/tcsh/APKBUILD31
1 files changed, 14 insertions, 17 deletions
diff --git a/testing/tcsh/APKBUILD b/testing/tcsh/APKBUILD
index 072c1982d7..3cf154385f 100644
--- a/testing/tcsh/APKBUILD
+++ b/testing/tcsh/APKBUILD
@@ -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"