testing/ii: call default_prepare in prepare

This commit is contained in:
Sören Tempel 2018-03-11 17:15:09 +01:00
parent 12c1a4ad45
commit 8ee0da8a3c

View File

@ -10,10 +10,10 @@ license="MIT"
options="!check" # upstream doesn't have a test suite
subpackages="$pkgname-doc"
source="http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
sed -i "$builddir/config.mk" \
-e '/CFLAGS/{s/-g -O0//;s/=/+=/}' \
-e '/LDFLAGS/{s/-s//;s/=/+=/}'