summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkyak2015-08-11 17:26:23 +0300
committerkyak2015-08-11 17:26:23 +0300
commit9af1b5e72c3c9a795f68400a5f9e33d38857b674 (patch)
treea0a7b7f59932b874b43dc403eaee5e2e89854e06
downloadaur-9af1b5e72c3c9a795f68400a5f9e33d38857b674.tar.gz
Initial import
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD45
2 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8911bbc249b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = centerim5-git
+ pkgdesc = CenterIM5 - An ncurses based terminal chat client - git development version
+ pkgver = git
+ pkgrel = 1
+ url = http://centerim.org/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = ca-certificates
+ depends = python2
+ depends = libjpeg
+ depends = gpgme
+ depends = libpurple
+ depends = ncurses
+ depends = libsigc++
+ provides = centerim5
+ conflicts = centerim5
+ options = !libtool
+ source = git+ssh://mob@repo.or.cz/srv/git/centerim5.git#branch=mob
+ sha256sums = SKIP
+
+pkgname = centerim5-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e6d34ff710c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Joss Wright (joss-arch@pseudonymity.net)
+# Please contact me at the above or comment at the AUR
+# if you have any issues.
+
+pkgname=centerim5-git
+pkgver=git
+pkgrel=1
+pkgdesc="CenterIM5 - An ncurses based terminal chat client - git development version"
+arch=('i686' 'x86_64')
+url="http://centerim.org/"
+license=('GPL')
+depends=('python2' 'libjpeg' 'gpgme' 'libpurple' 'ncurses' 'libsigc++')
+makedepends=('ca-certificates')
+provides=("${pkgname%-*}")
+conflicts=("${pkgname%-*}")
+options=('!libtool')
+source=('git+ssh://mob@repo.or.cz/srv/git/centerim5.git#branch=mob')
+sha256sums=('SKIP')
+
+pkgver() {
+
+ # Get the tag of the latest commit
+ cd ${pkgname%-*}
+ git describe --always | sed 's/-/./g'
+
+}
+
+build() {
+
+ cd ${pkgname%-*}
+ msg "Starting make..."
+
+ ./bootstrap
+ ./configure --prefix=/usr
+
+ make
+
+}
+
+package() {
+
+ cd ${pkgname%-*}
+ make DESTDIR="$pkgdir" install
+
+}