summaryrefslogtreecommitdiff
path: root/manualPorts/ii/Pkgfile
blob: 1fc53414bb99ab5e9640c93257f754244d5f3846 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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.8
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
    make
    make PREFIX=/usr MANDIR=/usr/share/man DESTDIR="${PKG}" install
    find "${PKG}" \( \
      -name FAQ -o \
      -name README -o \
      -name CHANGES \
    \) -delete

}