blob: fae0e1ecbf16cc62e9cf7c041a2c8b7ec59a22c9 (
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
|
# Contributor (AUR): Kevin Brubeck Unhammer <unhammer@fsfe.org>
# Maintainer (AUR): Kevin Brubeck Unhammer <unhammer@fsfe.org>
_commit=27d1ba848361684ba074e018d65b0282c4c84163
pkgname=apertium-eng-spa-git
pkgver=r0
pkgrel=1
arch=('i686' 'x86_64' 'armv7h')
pkgdesc="Apertium translation pair for English and Spanish"
url="https://github.com/apertium/apertium-eng-spa"
license=('GPL2')
makedepends=('git' 'apertium-lex-tools')
depends=('apertium>=3.5')
replaces=('apertium-en-es-git')
source=("git+https://github.com/apertium/apertium-eng-spa.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${pkgname%-git}"
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd "${pkgname%-git}"
make DESTDIR="$pkgdir/" install
}
|