summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7cd47b8a2800e2f5b44cfe3e20d3ec1780239c85 (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
# Maintainer: Dennis van der Schagt <dennisschagt@gmail.com>
pkgname=i18nspector
pkgver=0.27.1
pkgrel=1
epoch=
pkgdesc="Checking tool for gettext POT, PO and MO files"
arch=('any')
url="https://jwilk.net/software/i18nspector"
license=('MIT')
groups=()
depends=('python' 'python-polib' 'python-rply')
makedepends=('python-docutils')
checkdepends=('python-nose' 'python-rply')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(https://github.com/jwilk/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz{,.asc})
noextract=()
sha256sums=('c705acb8b863c30ef1eed92f655b31f51955919d75efbd292242c5f1f2dc9c9d'
            'SKIP')
validpgpkeys=(CDB5A1243ACDB63009AD07212D4EB3A6015475F5) # Jakub Wilk

build() {
    cd "${srcdir}"/$pkgname-$pkgver
    make PREFIX=/usr
    make -C doc
}

check() {
    cd "${srcdir}"/$pkgname-$pkgver
    make test
}

package() {
    cd "${srcdir}"/$pkgname-$pkgver
    make PREFIX=/usr DESTDIR="${pkgdir}" install
    install -Dm644 doc/LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
}