diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-04-14 15:42:32 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-04-14 15:48:04 +0200 |
commit | 50ab370f560c3f4c29bf69bc8a00c780052c3ec3 (patch) | |
tree | d4de9693308d688d4ec80c54a0e5e1a600f6e27b | |
parent | 3493a1f547ab8ac4fa817294fa3679992042be99 (diff) | |
download | aports-50ab370f560c3f4c29bf69bc8a00c780052c3ec3.tar.bz2 aports-50ab370f560c3f4c29bf69bc8a00c780052c3ec3.tar.xz |
testing/ii: fix substitutions for config.mk
Also cleanup the APKBUILD a bit while being here.
-rw-r--r-- | testing/ii/APKBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/testing/ii/APKBUILD b/testing/ii/APKBUILD index eeeb5413b6..1a199a12a7 100644 --- a/testing/ii/APKBUILD +++ b/testing/ii/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: lemon <lemon@bitmessage.ch> pkgname=ii pkgver=1.8 -pkgrel=1 +pkgrel=2 pkgdesc="Minimalist FIFO and filesystem-based IRC client" url="https://tools.suckless.org/ii" arch="all" @@ -15,18 +15,18 @@ builddir="$srcdir/$pkgname-$pkgver" prepare() { default_prepare sed -i "$builddir/config.mk" \ - -e '/CFLAGS/{s/-g -O0//;s/=/+=/}' \ - -e '/LDFLAGS/{s/-s//;s/=/+=/}' + -e '/CFLAGS/{s/-Os //;s/=/+=/}' \ + -e '/LDFLAGS/{s/-s //;s/=/+=/}' } build() { - make -C "$builddir" + cd "$builddir" + make } package() { cd "$builddir" make DESTDIR="$pkgdir" PREFIX=/usr install - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } sha512sums="2b41a0611ac76612c9333e8490709ee22d17506f0c5d7e680a0d8f3f8b511bd5b279555cf609c1543aba71948819369a3c306b1168086890aa49c145b7860e17 ii-1.8.tar.gz" |