summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b2f6500917dcc7e72822fc2008bdc330cfae9fad (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
# Maintainer: Marius Lindvall <(firstname) {cat} varden {dog} info>
# Contributor: Kevin Brubeck Unhammer <unhammer@fsfe.org>
pkgname=apertium-eng-cat
pkgver=1.0.1
pkgrel=2
pkgdesc="Apertium translation pair for English and Catalan"
url="https://github.com/apertium/${pkgname}"
license=('GPL3')
makedepends=('pkgconf' 'autoconf')
depends=('apertium>=3.4.2' 'apertium-lex-tools' 'apertium-separable' 'apertium-anaphora' 'vislcg3' 'apertium-eng' 'apertium-cat')
replaces=('apertium-en-ca')
arch=('i686' 'x86_64')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/apertium/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('5cf72219db1fb8ac43649e3c90b545ee1acbee96620c778d7084fb3bec743dc6')

build() {
    cd "$srcdir/$pkgname-$pkgver"
    ./autogen.sh --prefix=/usr
    make
}

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

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