summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5dbe0d4503d5eddc3ab5b5299535c1f352a74285 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Dobroslaw Kijowski <dobo90_at_gmail.com>

pkgname=gede
pkgver=2.15.4
pkgrel=1
pkgdesc='Graphical frontend (GUI) to GDB written in Qt.'
arch=(i686 x86_64)
url='http://acidron.com/gede'
license=(BSD)
depends=(qt5-base gdb ctags)
makedepends=(python2)
source=("http://gede.acidron.com/uploads/source/${pkgname}-${pkgver}.tar.xz")
md5sums=('5d737ec91323f49d39ebffdac7c306a9')

build()
{
  cd "${srcdir}/${pkgname}-${pkgver}"

  python2 build.py --use-qt5
}

package()
{
  cd "${srcdir}/${pkgname}-${pkgver}"

  python2 build.py install --prefix="${pkgdir}/usr" install

  cd "${srcdir}/${pkgname}-${pkgver}"

  install -d -m 755 "${pkgdir}/usr/share/licenses/${pkgname}"
  install -D -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}