summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a6157ebdcdcf64575156b3b61ddf41cee8499fe7 (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-fra-cat
pkgver=1.9.0
pkgrel=2
pkgdesc="Apertium translation pair for French and Catalan"
url="https://github.com/apertium/${pkgname}"
license=('GPL2')
makedepends=('pkgconf' 'autoconf')
depends=('apertium>=3.4.2' 'apertium-lex-tools' 'apertium-separable' 'vislcg3' 'apertium-fra' 'apertium-cat')
replaces=('apertium-fr-ca')
arch=('i686' 'x86_64')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/apertium/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('3fe00ab3e6a8be14f043e36f8024a4840886d18988dd6819e8cd4f78ac8fc4d6')

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
}