summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b9771010ee18e44c287f6962431b984a356bf2e0 (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
51
52
# Maintainer: David Marzal <mundolibre at tutanota dot com>
# Contributor: (XavierCLL) Xavier Corredor <xavier.corredor.llano (a) gmail.com>

pkgname=ksvnupdater
pkgver=3.0.2
pkgrel=2
pkgdesc="Utility oriented to KDE translation teams. You can have various local repository copies, generate projects for Lokalize, checks and corrections using Pology and more."
arch=('x86_64' 'i686')
url="http://www.eloihr.net/ksvnupdater"
license=('GPL-2.0-or-later')
depends=(karchive
        kio
        kitemviews
        kiconthemes
        knotifications
        ktextwidgets
        qt6-base
        subversion
        ki18n
        kconfig
        kcrash
        kwallet
        kxmlgui)
makedepends=('extra-cmake-modules' 'kdoctools')
optdepends=('git: download Scripty and Pology binaries'
            'lokalize: file translations'
            'kdiff3: conflict merge'
            'gettext: msginit to initialize empty translations'
            'openssh: ssh-agent and ssh-add. Accessing KDE repos with auth'
            'jq: creating DocBook documentation'
            'pology-git: translations checks. Download also available in ksvnupdater'
            'python-pyenchant: spell checking functionality (needs a dictionary)'
            'poxml: creating documentation'
            'hashdeep: downloading documentation files')
source=(https://www.eloihr.net/ksvnupdater/files/ksvnupdater-$pkgver.tar.bz2)
md5sums=('73a11ff46f3790d84e7d3ee1307f77a6')
sha1sums=('ed9ae0e7c6d47b5233b50864f7f849f3c131a4c0')
OPTIONS+=(!debug)

build() {
  cd "$pkgname-$pkgver"
  mkdir -p build
  cd build
  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  make clean
  make
}

package() {
  cd "$pkgname-$pkgver/build"
  make DESTDIR="$pkgdir/" install
}