summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorWilson E. Alvarez2021-04-09 12:34:17 -0400
committerWilson E. Alvarez2021-04-09 12:34:17 -0400
commit2682d463ddcd7e9e78acd0d2b5499f70251a5b5f (patch)
tree4dd82403e427aee8e267e85e86cf8f347334ca26 /PKGBUILD
parentdaaf7fdb2ae9ad0ca5c9a6e0c05a2d965952670a (diff)
downloadaur-2682d463ddcd7e9e78acd0d2b5499f70251a5b5f.tar.gz
Updated PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 15 insertions, 20 deletions
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
}