summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMarco Kundt2016-10-29 00:00:55 +0200
committerMarco Kundt2016-10-29 00:00:55 +0200
commitdaaf7fdb2ae9ad0ca5c9a6e0c05a2d965952670a (patch)
tree7e5506587a847cc758454ee40a724e46bdd4372b /PKGBUILD
downloadaur-daaf7fdb2ae9ad0ca5c9a6e0c05a2d965952670a.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ca42b4b2138
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Marco Kundt <mrckndt@gmail.com>
+
+pkgname=cgdb-git
+pkgver=r1124.415c978
+pkgrel=1
+pkgdesc="Curses-based interface to the GNU Debugger"
+arch=('i686' 'x86_64')
+url="http://cgdb.sourceforge.net/"
+license=('GPL')
+depends=('readline>=5.1' 'ncurses' 'gdb')
+makedepends=('help2man' 'autoconf')
+conflicts=('cgdb')
+source=(git+https://github.com/cgdb/cgdb)
+
+md5sums=('SKIP')
+
+_gitname='cgdb'
+
+pkgver() {
+ cd "$srcdir/$_gitname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd ${srcdir}/${_gitname}
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/${_gitname}
+ make DESTDIR="${pkgdir}/" install
+}