aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-09-28 09:48:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-28 09:48:19 +0000
commit9550ad2c49bf9f978b22ef0623fe5a7c86637b73 (patch)
tree387e6c2138d1fa72b6c50c19329222a06ff02b1f /testing
parentdea5ad8e70c49c9685e5485d85b591652fa03560 (diff)
downloadaports-9550ad2c49bf9f978b22ef0623fe5a7c86637b73.tar.bz2
aports-9550ad2c49bf9f978b22ef0623fe5a7c86637b73.tar.xz
testing/tcsh: cleanup
Diffstat (limited to 'testing')
-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"