diff options
-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" |