summaryrefslogtreecommitdiff
path: root/manualPorts/ii/Pkgfile
blob: 2cf09db4298b0e3ba17615770aca42362ae8bae1 (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
# Description: A minimalist FIFO and filesystem-based IRC client
# URL: https://tools.suckless.org/ii
# Maintainer: Erich Eckner, crux at eckner dot net
# Depends on: glibc

name=ii
version=1.9
release=1
source=("https://dl.suckless.org/tools/$name-$version.tar.gz")

build() {

    cd "${SRC}/${name}-${version}"
    sed -i "s/CFLAGS = /CFLAGS = ${CFLAGS} /" config.mk
    export CC=gcc
    make
    make PREFIX=/usr MANDIR=/usr/share/man DESTDIR="${PKG}" install
    find "${PKG}" \( \
      -name FAQ -o \
      -name README -o \
      -name CHANGES \
    \) -delete

}