summaryrefslogtreecommitdiff
path: root/ii/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'ii/PKGBUILD')
-rw-r--r--ii/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/ii/PKGBUILD b/ii/PKGBUILD
new file mode 100644
index 000000000..f36cb1671
--- /dev/null
+++ b/ii/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# 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=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")
+
+sha512sums=('1fa744bc9b4291b5c6c56e023d982aad59001137db6c7682284a2d63e649a32d558adbb85ae3407e312ae5436852b4278c2c522d4ef03f47cf54ea3a1f13ca90')
+
+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
+}
+