summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD35
2 files changed, 19 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c17c195b244..1d8e13aba73 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,17 @@
-# Generated by mksrcinfo v8
-# Fri Oct 28 21:58:51 UTC 2016
pkgbase = cgdb-git
pkgdesc = Curses-based interface to the GNU Debugger
- pkgver = r1124.415c978
- pkgrel = 1
- url = http://cgdb.sourceforge.net/
- arch = i686
+ pkgver = 0.7.1
+ pkgrel = 3
+ url = http://cgdb.github.io/
arch = x86_64
license = GPL
makedepends = help2man
- makedepends = autoconf
depends = readline>=5.1
depends = ncurses
depends = gdb
conflicts = cgdb
source = git+https://github.com/cgdb/cgdb
- md5sums = SKIP
+ sha512sums = SKIP
pkgname = cgdb-git
diff --git a/PKGBUILD b/PKGBUILD
index ca42b4b2138..0aa00b18159 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,34 +1,29 @@
-# Maintainer: Marco Kundt <mrckndt@gmail.com>
-
-pkgname=cgdb-git
-pkgver=r1124.415c978
-pkgrel=1
+# Maintainer: Wilson E. Alvarez <wilson.e.alvarez1@gmail.com>
+# Contributor: Sven-Hendrik Haase <svenstaro@gmail.com>
+# Contributor: Marek Kubica <marek@xivilization.net>
+# Contributor: Javier ‘Phrodo_00’ Aravena <Phrodo.00@gmail.com>
+_pkgname=cgdb
+pkgname=${_pkgname}-git
+pkgver=0.7.1
+pkgrel=3
pkgdesc="Curses-based interface to the GNU Debugger"
-arch=('i686' 'x86_64')
-url="http://cgdb.sourceforge.net/"
+arch=('x86_64')
+url="http://cgdb.github.io/"
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)"
-}
+makedepends=('help2man')
+source=("git+https://github.com/cgdb/cgdb")
+sha512sums=('SKIP')
build() {
- cd ${srcdir}/${_gitname}
+ cd ${_pkgname}
./autogen.sh
./configure --prefix=/usr
make
}
package() {
- cd ${srcdir}/${_gitname}
+ cd ${_pkgname}
make DESTDIR="${pkgdir}/" install
}