diff options
author | Gaming4JC <g4jc@openmailbox.org> | 2016-05-31 17:38:19 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@openmailbox.org> | 2016-05-31 17:38:19 -0400 |
commit | 82d053b14aa5a46da43e14ae72fdb9ec614aae3e (patch) | |
tree | c56c56ab29dc22cfad0996cfe1a1706539b3a752 /pcr/apertium/apertium-en-ca/PKGBUILD | |
parent | 5281e4b89dbde5ee96c21c1e45ec708d1af937a8 (diff) | |
download | abslibre-82d053b14aa5a46da43e14ae72fdb9ec614aae3e.tar.gz abslibre-82d053b14aa5a46da43e14ae72fdb9ec614aae3e.tar.bz2 abslibre-82d053b14aa5a46da43e14ae72fdb9ec614aae3e.zip |
adding apertium and dependencies
Diffstat (limited to 'pcr/apertium/apertium-en-ca/PKGBUILD')
-rw-r--r-- | pcr/apertium/apertium-en-ca/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pcr/apertium/apertium-en-ca/PKGBUILD b/pcr/apertium/apertium-en-ca/PKGBUILD new file mode 100644 index 000000000..b6db8c887 --- /dev/null +++ b/pcr/apertium/apertium-en-ca/PKGBUILD @@ -0,0 +1,39 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@fsfe.org> +# Maintainer: Kevin Brubeck Unhammer <unhammer@fsfe.org> +pkgname=apertium-en-ca +pkgver=0.9.3 +pkgrel=2 +pkgdesc="Apertium language data for the English-Catalan (including Valencian) translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig') +depends=('lttoolbox>=3.2' 'apertium>=3.2') +arch=('i686' 'x86_64') +source=("https://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "configure.ac.patch") +md5sums=('c984145a73c10c332c45b92bb676c37a' + '452356ce2ca88ad9c7cba79c879f8961' + '69cf23698c83a2d4456a0b5c0f7d8a13') +sha256sums=('c56e1f1c3fece009dc7c6b68af70f04ca9fbdee8e4b5e2ed8ea603f2f22ef0d5' + 'fd8d3d4b91201a4c451c9ca39dd1ccae26749d1e9a319bd1c6e5e899878be2de' + 'f8e473ed4b180976d09a772f5d5f0827a019c4ad3ca420a818e38c9402da72e3') + +build() { + patch -p1 < configure.ac.patch + patch -p1 < Makefile.am.patch + + cd "$srcdir/$pkgname-$pkgver" + + autoreconf -fi + + ./configure --prefix=/usr + make +} + +package() { + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +}
\ No newline at end of file |