summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD37
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dd7a0f434f9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = swirc-git
+ pkgdesc = IRC client written with the Ncurses UI framework
+ pkgver = v2.1.r4.02b6457
+ pkgrel = 1
+ url = https://www.nifty-networks.net/swirc/
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = pkg-config
+ depends = curl
+ depends = ncurses
+ depends = openssl
+ provides = swirc
+ conflicts = swirc
+ source = git+https://github.com/uhlin/swirc.git
+ sha256sums = SKIP
+
+pkgname = swirc-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..82066dbdc1e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+
+# Maintainer: Solomon Choina <shlomochoina@gmail.com>
+
+pkgname=swirc-git
+_pkgname=swirc
+pkgver=v2.1.r4.02b6457
+pkgrel=1
+pkgdesc="IRC client written with the Ncurses UI framework"
+arch=('x86_64')
+url="https://www.nifty-networks.net/swirc/"
+license=('GPL')
+depends=('curl' 'ncurses' 'openssl')
+makedepends=('git' "pkg-config")
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+source=('git+https://github.com/uhlin/swirc.git')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${_pkgname}"
+ printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+
+}
+
+build() {
+ cd "$srcdir/${_pkgname}"
+
+ ./configure
+ make
+}
+
+package() {
+ cd "$srcdir/${_pkgname}"
+ PREFIX=/usr make DESTDIR="$pkgdir/" install
+
+}
+