blob: 6c90b98bf405b7f21751cbb8331a9ce7716f07e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Contributor: lemon <lemon@bitmessage.ch>
# Maintainer: lemon <lemon@bitmessage.ch>
pkgname=ii
pkgver=1.8
pkgrel=0
pkgdesc="minimalist FIFO and filesystem-based IRC client"
url="http://tools.suckless.org/ii"
arch="all"
license="GPL"
depends=""
makedepends=""
install=""
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 -e '/CFLAGS/{s/-g -O0//;s/=/+=/}' \
-e '/LDFLAGS/{s/-s//;s/=/+=/}' \
"$builddir"/config.mk || return 1
}
build() {
cd "$builddir"
make PREFIX=/usr || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" PREFIX=/usr install
}
sha512sums="2b41a0611ac76612c9333e8490709ee22d17506f0c5d7e680a0d8f3f8b511bd5b279555cf609c1543aba71948819369a3c306b1168086890aa49c145b7860e17 ii-1.8.tar.gz"
|