summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 084ec9fb0b2736882b895b4251d591af70c074b7 (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: degreeme <suratovvlad@gmail.com>

pkgname=texstudio-dark-git
pkgver=2.12.16beta3.r24.g67a7b8bc
pkgrel=1
pkgdesc="Integrated writing environment for creating LaTeX documents. Dark version."
arch=('i686' 'x86_64')
url="http://texstudio.sourceforge.net/"
license=('GPL')
depends=('poppler-qt5' 'qt5-svg' 'qt5-script' 'libxkbcommon-x11' 'libqdark-git')
makedepends=('qt5-tools')
optdepends=('evince: pdf reader'
            'okular: alternate pdf reader')
conflicts=('texstudio')
source=("${pkgname%-*}::git+https://github.com/suratovvlad/texstudio.git")
sha512sums=('SKIP')

pkgver() {
  cd ${pkgname%-*}

  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}


build() {
    cd ${pkgname%-*}
    qmake-qt5 CONFIG-="debug" texstudio.pro
    make
}

package() {
    cd ${pkgname%-*}
    make INSTALL_ROOT="$pkgdir" install
}