summaryrefslogtreecommitdiff
path: root/pcr/ii/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/ii/PKGBUILD')
-rw-r--r--pcr/ii/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/ii/PKGBUILD b/pcr/ii/PKGBUILD
new file mode 100644
index 000000000..b17cc2d18
--- /dev/null
+++ b/pcr/ii/PKGBUILD
@@ -0,0 +1,30 @@
+# 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.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
+}