summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 842f1e360dc4ac9db32df645628b4cae8e9fdca6 (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
# Maintainer: Marius Lindvall <(firstname) {cat} varden {dog} info>
pkgname=apertium-hbs-mkd
pkgver=0.1.1
pkgrel=2
pkgdesc="Apertium translation pair for Serbo-Croatian and Macedonian"
url="https://github.com/apertium/${pkgname}"
license=('GPL3')
makedepends=('pkgconf' 'autoconf')
depends=('apertium>=3.4.2' 'apertium-lex-tools' 'vislcg3')
arch=('i686' 'x86_64')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/apertium/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('43939c831164d6e80b1655f2d890d5605a3300ea9bf91aac3a2891eb6981d3be')

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
}