# Contributor: lemon # Maintainer: lemon pkgname=ii pkgver=1.8 pkgrel=1 pkgdesc="Minimalist FIFO and filesystem-based IRC client" url="http://tools.suckless.org/ii" arch="all" 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() { sed -i "$builddir/config.mk" \ -e '/CFLAGS/{s/-g -O0//;s/=/+=/}' \ -e '/LDFLAGS/{s/-s//;s/=/+=/}' } build() { make -C "$builddir" } 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"