summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8c4017489f18b5236f58de44184adb47355e69ba (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
# Contributor: Evan Gates    <evan.gates@gmail.com>
# Contributor: Dag  Odenhall <dag.odenhall@gmail.com>
# Contributor: Chris Brannon <cmbrannon@cox.net>
# Contributor: William Giokas <1007380@gmail.com>
pkgname=ii
pkgver=1.8
pkgrel=1
pkgdesc="A minimalist FIFO and filesystem-based IRC client"
license=('MIT')
arch=('i686' 'x86_64')
url=http://tools.suckless.org/ii
depends=('glibc')
source=("http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz")
md5sums=('fc31ba3ecf6b52c5bae39b70f674543b')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  sed -i "s/CFLAGS = /CFLAGS = ${CFLAGS} /" config.mk
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make PREFIX=/usr MANDIR=/usr/share/man DESTDIR="$pkgdir" install
}