summaryrefslogtreecommitdiff
path: root/pcr/ii/PKGBUILD
blob: 451bd03f531107ccc7dc8ae05051e2ae98cd1907 (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
# Contributor (Arch): Evan Gates    <evan.gates@gmail.com>
# Contributor (Arch): Dag  Odenhall <dag.odenhall@gmail.com>
# Contributor (Arch): Chris Brannon <cmbrannon@cox.net>
# Contributor (Arch): William Giokas <1007380@gmail.com>
# Maintainers: Parabola hackers <dev@lists.parabola.nu>

pkgname=ii
pkgver=1.7
pkgrel=2
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=('6191008ca09770873d84f40270493d0e')

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

build() {
	cd "$srcdir/$pkgname-$pkgver"
	make
}

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