summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4eaf9cec5413673e787fa034bb0b065b288dd57e (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
# Maintainer:  Dimitris Kiziridis <ragouel at outlook dot com>

pkgname=jdtextedit
pkgver=7.2
pkgrel=1
pkgdesc='A powerful texteditor with a lot of features'
arch=('any')
url="https://gitlab.com/JakobDev/jdTextEdit"
license=('GPL3')
depends=('python-pyqt5'
         'python-qscintilla-qt5'
         'python-chardet'
         'python-requests'
         'python-cchardet'
         'python-editorconfig'
         'python-charset-normalizer'
         'python-jdtranslationhelper')
makedepends=('python-setuptools' 'gendesk')
source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/JakobDev/jdTextEdit/-/archive/${pkgver}/jdTextEdit-${pkgver}.tar.gz")
sha256sums=('9190b7dfe278326d9bbe3696999c2e53676b021391ffafc735b7fed88936cf22')

package() {
  cd "jdTextEdit-${pkgver}"
  python setup.py install --root="$pkgdir/" --optimize=1
  install -Dm644 jdTextEdit/Logo.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
  gendesk -f -n --pkgname "${pkgname}" \
            --pkgdesc "$pkgdesc" \
            --name "jdTextEdit" \
            --comment "$pkgdesc" \
            --exec jdTextEdit \
            --categories 'TextEditor;Development;' \
            --icon "${pkgname}"
  install -Dm644 "${pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
}