summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 771fe7e09e18184f647bcf92c3e3fa4009053c37 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Dog icon by ecuabron ( https://openclipart.org/detail/204954/dog )

# Contributor: Fabio Comuni <fabrixxm@kirgroup.com>
# Contributor: David Vogt <dave at winged dot ch>
# Maintainer: Éric Gillet <e + aur2419 at linuxw dot info>

pkgname=pugdebug-git
_pkgname=pugdebug-git
pkgver=1.1.0.r1.gddb1193
pkgrel=1
pkgdesc="PugDebug is a standalone debugging client for PHP applications that uses XDebug as the debugging engine"
arch=('any')
license=('GPL3')
url='https://github.com/mte90/pugdebug'
depends=('python>=3.7' 'python-pyqt5' 'python-pygments' 'flake8' 'python-fuzzywuzzy' 'python-levenshtein')
conflicts=()
provides=('pugdebug')
makedepends=('python-setuptools')
source=("$pkgname::git://github.com/Mte90/pugdebug.git"
	setup.py 
	PugDebug.desktop 
	dog.png)

md5sums=('SKIP'
         '7556a53bc966e1fd2a51ac8d7f61220f'
         '0a6f0a35199b4b0eccbd5291b180e553'
         '4a382fe99a6d4e9fafc5a047af77402b')

pkgver() {
  cd "$_pkgname"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}	

build() {
	cp "${srcdir}/setup.py" "${srcdir}/${_pkgname}/"
}

package() {
	install -D -m655 "${srcdir}/PugDebug.desktop" "$pkgdir/usr/share/applications/PugDebug.desktop"
	
	install -D -m655 ${srcdir}/dog.png "$pkgdir/usr/share/pixmaps/pugdebug.png"
	
	cd "${srcdir}/${_pkgname}"
	python setup.py install --root="${pkgdir}"
	
	install -TD app.py "${pkgdir}/usr/bin/pugdebug"
	
	install -D -m655 LICENSE "${pkgdir}/usr/share/pugdebug/LICENSE"
	install -D -m655 COPYING "${pkgdir}/usr/share/pugdebug/COPYING"
}