diff options
33 files changed, 1051 insertions, 0 deletions
diff --git a/pcr/apertium-tolk-svn/PKGBUILD b/pcr/apertium-tolk-svn/PKGBUILD new file mode 100644 index 000000000..f09506184 --- /dev/null +++ b/pcr/apertium-tolk-svn/PKGBUILD @@ -0,0 +1,36 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-tolk-svn +pkgver=25848 +pkgrel=1 +pkgdesc="apertium-tolk is a program that translates as you type, using Apertium" +arch=('i686' 'x86_64') +url="http://wiki.apertium.org/wiki/Apertium-tolk" +license=('GPL2') +depends=('apertium-dbus' 'python>=2.4') +makedepends=('automake' 'autoconf' 'intltool') +conflicts=('apertium-tolk') +source=() +md5sums=() + +_svntrunk=https://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium-tolk +_svnmod=apertium-tolk + +build() { + cd "$srcdir" + + if [ "$(ls -A $_svnmod 2> /dev/null)" ]; then + (cd $_svnmod && svn update -r $pkgver) || return 1 + else + svn co ${_svntrunk} ${_svnmod} -r ${pkgver} || return 1 + fi + + msg "SVN checkout done or server timeout" + + cd ${srcdir}/${_svnmod} + + sh autogen.sh + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium-viewer/PKGBUILD b/pcr/apertium-viewer/PKGBUILD new file mode 100644 index 000000000..c0676f023 --- /dev/null +++ b/pcr/apertium-viewer/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: ValHue <vhuelamo at gmail dot com> +# https://github.com/ValHue/AUR-PKGBUILDs + +pkgname="apertium-viewer" +pkgver=2.5.2 +pkgrel=1 +pkgdesc="A tool to view and edit the output of the various stages of an apertium translation." +url="http://wiki.apertium.org/wiki/Apertium-view" +arch=('i686' 'x86_64') +license=('GPL2') +depends=('java-environment') +conflicts=("${pkgname}") +provides=("${pkgname}") +source=("https://svn.code.sf.net/p/apertium/svn/builds/apertium-viewer/apertium-viewer.jar") +sha256sums=('de5e7367ec2b890c1d3a97c75ba0819d25ff78b393154cc190e1324ca509e062') +options=() + +_apertium_viewer_desktop="[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Exec=apertium-viewer +Name=Apertium Viewer +Icon=apertium.png" + +build() { + cd "${srcdir}" + echo -e "$_apertium_viewer_desktop" | tee apertium-viewer.desktop + echo "java -Xmx500m -jar /usr/share/apertium/apertium-viewer.jar" > apertium-viewer +} + +package() { + cd "${srcdir}" + install -d ${pkgdir}/usr/bin + install -d ${pkgdir}/usr/share/{apertium,applications,pixmaps,} + install -m 644 apertium-viewer.jar "${pkgdir}/usr/share/apertium/" + install -m 644 *.desktop "${pkgdir}/usr/share/applications/" + install -m 644 apertiumview/resources/apertium.png "${pkgdir}/usr/share/pixmaps/" + install -m 755 apertium-viewer "${pkgdir}/usr/bin/" +} + +# vim:set ts=4 sw=2 ft=sh et:
\ No newline at end of file diff --git a/pcr/apertium/PKGBUILD b/pcr/apertium/PKGBUILD new file mode 100644 index 000000000..d8ee96a5e --- /dev/null +++ b/pcr/apertium/PKGBUILD @@ -0,0 +1,26 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@fsfe.org> +# Maintainer: Kevin Brubeck Unhammer <unhammer@fsfe.org> +pkgname=apertium +pkgver=3.4.0 +pkgrel=1 +pkgdesc="Language-independent machine translation engine and tools to manage language data." +url="http://apertium.org" +license=('GPL2') +makedepends=('pkgconfig' 'flex') +depends=('lttoolbox>=3.3.1' 'pcre' 'gawk' 'expat' 'libxslt') +options=('!libtool') +arch=('i686' 'x86_64') +source=(http://downloads.sourceforge.net/sourceforge/apertium/apertium-${pkgver}.tar.gz) +md5sums=('5aa356d4840d6ffb1490a3b6639930bd') +sha256sums=('2bd7f44b794615ebca1c5d3949b2139b665e2a5af24c40931ea0856e268fc3da') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-af-nl/PKGBUILD b/pcr/apertium/apertium-af-nl/PKGBUILD new file mode 100644 index 000000000..bc789741b --- /dev/null +++ b/pcr/apertium/apertium-af-nl/PKGBUILD @@ -0,0 +1,23 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-af-nl +pkgver=0.2.0 +pkgrel=1 +pkgdesc="Apertium language data for the Afrikaans-Nederlands (Dutch) translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig') +depends=('lttoolbox>=3.2' 'apertium>=3.2') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz") +md5sums=('c6e048623ab18cf58d6a2d7c2daafc63') + +build() { + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-br-fr/PKGBUILD b/pcr/apertium/apertium-br-fr/PKGBUILD new file mode 100644 index 000000000..478f7f143 --- /dev/null +++ b/pcr/apertium/apertium-br-fr/PKGBUILD @@ -0,0 +1,24 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-br-fr +pkgver=0.5.0 +pkgrel=1 +pkgdesc="Apertium language data for the Breton-French translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig') +depends=('lttoolbox>=3.2' 'apertium>=3.2' 'vislcg3>=0.9.7.7823') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz") +md5sums=('65992f979f243e1f6a0f0b850b5a8a10') + +build() { + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + export PATH="/usr/bin:${PATH}" # override /usr/local/bin + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-ca-it/PKGBUILD b/pcr/apertium/apertium-ca-it/PKGBUILD new file mode 100644 index 000000000..d15458025 --- /dev/null +++ b/pcr/apertium/apertium-ca-it/PKGBUILD @@ -0,0 +1,25 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@fsfe.org> +# Maintainer: Kevin Brubeck Unhammer <unhammer@fsfe.org> +pkgname=apertium-ca-it +pkgver=0.1.1 +pkgrel=1 +pkgdesc="Apertium language data for the Catalan-Italian translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig') +depends=('lttoolbox>=3.2' 'apertium>=3.2') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz") +md5sums=('08b3d5a949ddce7fc8b3539490ef11f8') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + export PATH="/usr/bin:${PATH}" # override /usr/local/bin + ./configure --prefix=/usr && make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-cy-en/PKGBUILD b/pcr/apertium/apertium-cy-en/PKGBUILD new file mode 100644 index 000000000..9e87cbafa --- /dev/null +++ b/pcr/apertium/apertium-cy-en/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-cy-en +pkgver=0.1.0 +pkgrel=1 +pkgdesc="Apertium language data for the Welsh-English translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig' 'autoconf') +depends=('lttoolbox>=3.0' 'apertium>=3.0' 'vislcg3>=0.9.7.6010') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "configure.ac.patch") +md5sums=('7067869350719ba2347e0a52d0143938' + '7c267173fc4f2a6bfce946bb81c6c3a0' + '687597e2eda763211d1594ba6b1a151a') + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < configure.ac.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + autoreconf -i + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-dbus-svn/PKGBUILD b/pcr/apertium/apertium-dbus-svn/PKGBUILD new file mode 100644 index 000000000..a7eb8a242 --- /dev/null +++ b/pcr/apertium/apertium-dbus-svn/PKGBUILD @@ -0,0 +1,37 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-dbus-svn +pkgver=25849 +pkgrel=1 +pkgdesc="D-Bus service for apertium" +arch=('i686' 'x86_64') +url="http://wiki.apertium.org/wiki/D-Bus_service_for_Apertium" +license=('GPL2') +depends=('dbus-python' 'apertium') +makedepends=('automake' 'autoconf') +conflicts=('apertium-dbus') +provides=('apertium-dbus') +source=() +md5sums=() + +_svntrunk=https://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium-dbus +_svnmod=apertium-dbus + +build() { + cd "$srcdir" + + if [ "$(ls -A $_svnmod 2> /dev/null)" ]; then + (cd $_svnmod && svn update -r $pkgver) || return 1 + else + svn co ${_svntrunk} ${_svnmod} -r ${pkgver} || return 1 + fi + + msg "SVN checkout done or server timeout" + + cd ${srcdir}/${_svnmod} + + sh autogen.sh + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file 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 diff --git a/pcr/apertium/apertium-en-es/PKGBUILD b/pcr/apertium/apertium-en-es/PKGBUILD new file mode 100644 index 000000000..406aca2bb --- /dev/null +++ b/pcr/apertium/apertium-en-es/PKGBUILD @@ -0,0 +1,43 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@fsfe.org> +# Maintainer: Kevin Brubeck Unhammer <unhammer@fsfe.org> +pkgname=apertium-en-es +pkgver=0.8.0 +pkgrel=1 +pkgdesc="Apertium language data for the English-Spanish translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig') +depends=('lttoolbox>=3.2' 'apertium>=3.2') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "configure.ac.patch" + "Makefile.am.patch" + "Makefile.in.patch") +md5sums=('4b82c32edbd5315432192799ed641930' + '4968bf33612ae8fc3f0d253d81de2c4b' + 'dfae1753dac1a8720de76829a79c3401' + 'a93870ddb3343f9913582b44d2a70a12') +sha256sums=('b497b545982491d6e4c46b69e3167291bfdfae3d988917a996e5c44265f9fcdf' + 'f8345047daf60bf45f9218a551f4207c5b08ce8d318e1f5462909695e2151875' + '35bd9284dcbbded62436f672fa32e5846b21897f23d526f90a1b53b5302e87c1' + '1be3c6d97cfd3677df4e85742c3e199e512abf301411a5df05b9ff71b29c5e39') + +build() { + patch -p1 < configure.ac.patch + patch -p1 < Makefile.am.patch + patch -p1 < Makefile.in.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 diff --git a/pcr/apertium/apertium-en-gl/PKGBUILD b/pcr/apertium/apertium-en-gl/PKGBUILD new file mode 100644 index 000000000..d1349c3a0 --- /dev/null +++ b/pcr/apertium/apertium-en-gl/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-en-gl +pkgver=0.5.1 +pkgrel=2 +pkgdesc="Apertium language data for the English-Galician translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig' 'autoconf') +depends=('lttoolbox>=3.0' 'apertium>=3.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "configure.ac.patch") +md5sums=('daaba4c47ed5cbfbdd9c9410044ffa31' + '106b362aa9693eee1c94c55f0f00fa33' + '0040d866c8c2baed89a744c699e0179d') + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < configure.ac.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + autoreconf -i + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-eo-ca/PKGBUILD b/pcr/apertium/apertium-eo-ca/PKGBUILD new file mode 100644 index 000000000..38344551b --- /dev/null +++ b/pcr/apertium/apertium-eo-ca/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-eo-ca +pkgver=0.9.1 +pkgrel=2 +pkgdesc="Apertium language data for the Esperanto-Catalan translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig') +depends=('lttoolbox>=3.0' 'apertium>=3.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "configure.ac.patch") +md5sums=('75b027c23e031bfdb645fbd120e82d72' + '99ff6b39e16ef8314a82951414bb2d66' + '4695b4ad4f6eb089b528bef0d2820a3f') + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < configure.ac.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + autoreconf -i + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-eo-en/PKGBUILD b/pcr/apertium/apertium-eo-en/PKGBUILD new file mode 100644 index 000000000..69bb76fc2 --- /dev/null +++ b/pcr/apertium/apertium-eo-en/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-eo-en +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Apertium language data for the Esperanto-English translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig') +depends=('lttoolbox>=3.0' 'apertium>=3.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "Makefile.in.patch") +md5sums=('df00059573f4a87d90dc56394daf6793' + '31dfb82e3412a1159786ce65a2748910' + '6145fc4ec2ceddd7270fa2111d11bb73') + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < Makefile.in.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-eo-es/PKGBUILD b/pcr/apertium/apertium-eo-es/PKGBUILD new file mode 100644 index 000000000..e01fa7fcb --- /dev/null +++ b/pcr/apertium/apertium-eo-es/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-eo-es +pkgver=1.0.0 +pkgrel=2 +pkgdesc="Apertium language data for the Esperanto-Spanish translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig') +depends=('lttoolbox>=3.0' 'apertium>=3.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "configure.ac.patch") +md5sums=('92db1e1e1cae12b93f300dbb1f1138c0' + 'd543d8d7c17fedd791b38a1694defdb3' + 'd9c2eeea53f85b61b8a225310cca9cd7') + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < configure.ac.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + autoreconf -i + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-eo-fr/PKGBUILD b/pcr/apertium/apertium-eo-fr/PKGBUILD new file mode 100644 index 000000000..2f516854c --- /dev/null +++ b/pcr/apertium/apertium-eo-fr/PKGBUILD @@ -0,0 +1,27 @@ +pkgname=apertium-eo-fr +pkgver=0.9.0 +pkgrel=1 +pkgdesc="Apertium language data for the Esperanto-French translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig') +depends=('lttoolbox>=3.0' 'apertium>=3.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch") +md5sums=('c3c4efa6e8faa990ae213a1707a1bd63' + '74b0b10ddcc8bf3f64613dca3f2c34b0') + +build() { + patch -p0 < Makefile.am.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + autoreconf -i + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-es-ast/PKGBUILD b/pcr/apertium/apertium-es-ast/PKGBUILD new file mode 100644 index 000000000..1e786560f --- /dev/null +++ b/pcr/apertium/apertium-es-ast/PKGBUILD @@ -0,0 +1,23 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@fsfe.org> +# Maintainer: Kevin Brubeck Unhammer <unhammer@fsfe.org> +pkgname=apertium-es-ast +pkgver=1.1.0 +pkgrel=1 +pkgdesc="Apertium language data for the Spanish-Asturian translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig') +depends=('lttoolbox>=3.0' 'apertium>=3.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/apertium-es-ast_NO-PN-${pkgver}.tar.gz") +md5sums=('3e94345c525b2c6de87a50d599f1ce04') + +build() { + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-es-ca/PKGBUILD b/pcr/apertium/apertium-es-ca/PKGBUILD new file mode 100644 index 000000000..52d4effec --- /dev/null +++ b/pcr/apertium/apertium-es-ca/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-es-ca +pkgver=1.2.0 +pkgrel=2 +pkgdesc="Apertium language data for the Spanish-Catalan translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig') +depends=('lttoolbox>=3.0' 'apertium>=3.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/apertium-es-ca-${pkgver}.tar.gz" + "Makefile.am.patch" + "configure.ac.patch") +md5sums=('0cc9676a152947adf703ec81b67654bf' + 'b75136e67d4ac876e024f3147f149c97' + '6e8507366d33e85af7988de36f366fa2') + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < configure.ac.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + autoreconf -i + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-es-gl/PKGBUILD b/pcr/apertium/apertium-es-gl/PKGBUILD new file mode 100644 index 000000000..5794fdd5f --- /dev/null +++ b/pcr/apertium/apertium-es-gl/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-es-gl +pkgver=1.0.7 +pkgrel=2 +pkgdesc="Apertium language data for the Spanish-Galician translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig') +depends=('lttoolbox>=3.0' 'apertium>=3.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "configure.ac.patch") +md5sums=('17e5dd2df012f8848479ed9205d9248c' + 'b60a40523e1104ed8ce1d03bd8c9f54d' + 'b3c34766a80291fb1bbb221d8b93cf18') + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < configure.ac.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + autoreconf -i + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-es-pt/PKGBUILD b/pcr/apertium/apertium-es-pt/PKGBUILD new file mode 100644 index 000000000..1a898b238 --- /dev/null +++ b/pcr/apertium/apertium-es-pt/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-es-pt +pkgver=1.0.3 +pkgrel=2 +pkgdesc="Apertium language data for the Spanish-Portuguese translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig' 'autoconf') +depends=('lttoolbox>=3.0' 'apertium>=3.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "configure.ac.patch") +md5sums=('0549493582ed682c6369b6a3ab3f09b5' + '980ec38601b6da839b0f98fab5821cde' + '29e1b3e85af2d026f3d48d19a4924986') + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < configure.ac.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + autoreconf -i + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-es-ro/PKGBUILD b/pcr/apertium/apertium-es-ro/PKGBUILD new file mode 100644 index 000000000..df6ab4ba6 --- /dev/null +++ b/pcr/apertium/apertium-es-ro/PKGBUILD @@ -0,0 +1,35 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-es-ro +pkgver=0.7.1 +pkgrel=1 +pkgdesc="Apertium language data for the Spanish-Romanian translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig' 'autoconf') +depends=('lttoolbox>=3.0' 'apertium>=3.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "configure.ac.patch" + "trules.patch") +md5sums=('9de6e21ddf8dfb65a6b09b430e8ab600' + 'e0d964dad84346f98b500505d428b687' + 'f4067b2a28d94dc08feff01a41f2d107' + '0a6caa9170cca54ba1146803e6cdb1e6') + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < configure.ac.patch + patch -p0 < trules.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + autoreconf -i + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-eu-es/PKGBUILD b/pcr/apertium/apertium-eu-es/PKGBUILD new file mode 100644 index 000000000..cec91ddc2 --- /dev/null +++ b/pcr/apertium/apertium-eu-es/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-eu-es +pkgver=0.3.1 +pkgrel=2 +pkgdesc="Apertium language data for the Basque-Spanish translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig' 'autoconf') +depends=('lttoolbox>=3.0' 'apertium>=3.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "configure.ac.patch") +md5sums=('990cbc06d639d7e1ecda0132405fe07a' + '7ce5bc046e8b9d3b23134332fee6143c' + '846c24b12b3528ae9e257b8d3c6796a8') + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < configure.ac.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + autoreconf -i + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-fr-ca/PKGBUILD b/pcr/apertium/apertium-fr-ca/PKGBUILD new file mode 100644 index 000000000..9e355ee94 --- /dev/null +++ b/pcr/apertium/apertium-fr-ca/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-fr-ca +pkgver=1.0.2 +pkgrel=2 +pkgdesc="Apertium language data for the French-Catalan translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig' 'autoconf') +depends=('lttoolbox>=3.0' 'apertium>=3.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "configure.ac.patch") +md5sums=('f04cb595c342a623a5d17cd1f5bfa1f3' + '25adf0c47d303ec33e8859e153f8f500' + '4ec3f673513fa04ca595878d79707849') + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < configure.ac.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + autoreconf -i + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-fr-es/PKGBUILD b/pcr/apertium/apertium-fr-es/PKGBUILD new file mode 100644 index 000000000..46eb436b9 --- /dev/null +++ b/pcr/apertium/apertium-fr-es/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-fr-es +pkgver=0.9.2 +pkgrel=1 +pkgdesc="Apertium language data for the French-Spanish translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig' 'autoconf') +depends=('lttoolbox>=3.2.0' 'apertium>=3.2.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch") +md5sums=('0b04ee8f1694f95adafb2589c802829e' + '0020317ca43e1b16f6584d7365351df0') + +build() { + patch -p0 < Makefile.am.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + autoreconf -i # or we could patch the huge configure script... + + export PATH="/usr/bin:${PATH}" # override /usr/local/bin + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-ht-en/PKGBUILD b/pcr/apertium/apertium-ht-en/PKGBUILD new file mode 100644 index 000000000..6f3e3627e --- /dev/null +++ b/pcr/apertium/apertium-ht-en/PKGBUILD @@ -0,0 +1,34 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-ht-en +pkgver=0.1.0 +pkgrel=1 +pkgdesc="Apertium language data for the Haitian Creole-English translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig') +depends=('lttoolbox>=3.0' 'apertium>=3.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "Makefile.in.patch" + "t1x.patch") +md5sums=('73d6dbbb2c1ad50b8e6c5428f4fc7a9e' + 'e99487bbc9df970596882bdc1b152218' + '8625b7f9ee07b3696e71a49129db01fd' + 'b8f420edd5577fabef485dcb6d08a5e6') + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < Makefile.in.patch + # remove the c (comment) attribute, not in the DTD in apertium<=3.1.1: + patch -p0 < t1x.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-is-en/PKGBUILD b/pcr/apertium/apertium-is-en/PKGBUILD new file mode 100644 index 000000000..48e1f344a --- /dev/null +++ b/pcr/apertium/apertium-is-en/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-is-en +pkgver=0.1.0 +pkgrel=1 +pkgdesc="Apertium language data for the Icelandic-English translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig') +depends=('lttoolbox>=3.2.0' 'apertium>=3.2.0' 'vislcg3>=0.9.7.6010') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "Makefile.in.patch") +md5sums=('a53f884fc72d69de1e57b56581258978' + '9b49f260b71cbd2a68b46d99e01248fe' + 'a3974fcdb318c511a0624be504558601') + + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < Makefile.in.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-mk-bg/PKGBUILD b/pcr/apertium/apertium-mk-bg/PKGBUILD new file mode 100644 index 000000000..003f9c8de --- /dev/null +++ b/pcr/apertium/apertium-mk-bg/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-mk-bg +pkgver=0.2.0 +pkgrel=1 +pkgdesc="Apertium language data for the Macedonian-Bulgarian translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig') +depends=('lttoolbox>=3.2' 'apertium>=3.2' 'vislcg3>=0.9.7.6010') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "Makefile.in.patch") +md5sums=('a0f12e989097c67eb3d3a96e06a0fa38' + 'b66ee552f3e54e767c052cd36828e667' + 'cbe4d1dd0f37737b3aa98fdaa3770763') + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < Makefile.in.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + export PATH="/usr/bin:${PATH}" # override /usr/local/bin + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-mk-en/PKGBUILD b/pcr/apertium/apertium-mk-en/PKGBUILD new file mode 100644 index 000000000..7c6c30dac --- /dev/null +++ b/pcr/apertium/apertium-mk-en/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-mk-en +pkgver=0.1.1 +pkgrel=1 +pkgdesc="Apertium language data for the Macedonian-English translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig') +depends=('lttoolbox>=3.2' 'apertium>=3.2' 'vislcg3>=0.9.7.6010') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "Makefile.in.patch") +md5sums=('46bd7cfcb16afeea7a731b574ae439d8' + 'fcedcd77d631ff01f38dcfe244e6325d' + '44a0cf3352b887866f0e15a0eda48510') + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < Makefile.in.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + export PATH="/usr/bin:${PATH}" # override /usr/local/bin + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-nn-nb/PKGBUILD b/pcr/apertium/apertium-nn-nb/PKGBUILD new file mode 100644 index 000000000..b780a92f0 --- /dev/null +++ b/pcr/apertium/apertium-nn-nb/PKGBUILD @@ -0,0 +1,23 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-nn-nb +pkgver=0.7.0 +pkgrel=2 +pkgdesc="Apertium language data for the Norwegian Nynorsk-Norwegian Bokmål translator." +url="http://wiki.apertium.org/wiki/Norwegian_Nynorsk_and_Norwegian_Bokmål" +license=('GPL') +makedepends=('pkgconfig') +depends=('lttoolbox>=3.2.0' 'apertium>=3.2.0' 'vislcg3>=0.9.7.6010') +# TODO: This package must be recompiled for _every_ new vislcg3 release (that's just the vislcg3 policy) +optdepends=('lttoolbox-java: for compound analysis (use mode nb-nn-cp or nb-nn_a-cp)') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz") +md5sums=('708ece31d9017963f2adac14a30fdf62') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-oc-ca/PKGBUILD b/pcr/apertium/apertium-oc-ca/PKGBUILD new file mode 100644 index 000000000..4ebe004ca --- /dev/null +++ b/pcr/apertium/apertium-oc-ca/PKGBUILD @@ -0,0 +1,39 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-oc-ca +pkgver=1.0.5 +pkgrel=2 +pkgdesc="Apertium language data for the Occitan-Catalan translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig' 'autoconf') +depends=('lttoolbox>=3.0' 'apertium>=3.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "configure.ac.patch" + "ca-oc.t1x.patch" + "oc-ca.t1x.patch") +md5sums=('902a96a35ae43d3f9437ae92f812459e' + '38067f63d1bce99f424d3c49b86f2a6f' + '3ade075d16b703044bde8bbd8d5d4ff3' + '10de3a78ace592fd2d38dec074d3ec85' + '4cd0d20adb084351c6ee04078c22fc25') + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < configure.ac.patch + + patch -p0 < ca-oc.t1x.patch # this didn't compile when it was released even... + patch -p0 < oc-ca.t1x.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + autoreconf -i + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-oc-es/PKGBUILD b/pcr/apertium/apertium-oc-es/PKGBUILD new file mode 100644 index 000000000..368c645b3 --- /dev/null +++ b/pcr/apertium/apertium-oc-es/PKGBUILD @@ -0,0 +1,38 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-oc-es +pkgver=1.0.5 +pkgrel=1 +pkgdesc="Apertium language data for the Occitan-Spanish translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig') +depends=('lttoolbox>=3.0' 'apertium>=3.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "configure.ac.patch" + "oc-es.t1x.patch" + "es-oc.t1x.patch") +md5sums=('c3d7f9d2c5b0ee050e7219ea590c019e' + 'a5f5705c9de36ec1ec46ab31bf148b3e' + '26cc63e7e3e830a5f6fd76590f5e22de' + 'a65e5c80e5cec7490665dd4a3a232fe7' + 'd41d8cd98f00b204e9800998ecf8427e') + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < configure.ac.patch + patch -p0 < oc-es.t1x.patch + patch -p0 < es-oc.t1x.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + autoreconf -i + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-pt-ca/PKGBUILD b/pcr/apertium/apertium-pt-ca/PKGBUILD new file mode 100644 index 000000000..b38d2c83f --- /dev/null +++ b/pcr/apertium/apertium-pt-ca/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-pt-ca +pkgver=0.8.1 +pkgrel=2 +pkgdesc="Apertium language data for the Portuguese-Catalan translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig' 'autoconf') +depends=('lttoolbox>=3.0' 'apertium>=3.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "configure.ac.patch") +md5sums=('615df78d702ca48bf96c55f2d3eaf1f9' + '4faa12bc68e3f7190f71de562328872c' + '7db5c971f2d683acb51d44d4e5d44f67') + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < configure.ac.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + autoreconf -i + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-pt-gl/PKGBUILD b/pcr/apertium/apertium-pt-gl/PKGBUILD new file mode 100644 index 000000000..7a8ddee49 --- /dev/null +++ b/pcr/apertium/apertium-pt-gl/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-pt-gl +pkgver=0.9.1 +pkgrel=2 +pkgdesc="Apertium language data for the Portuguese-Galician translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig' 'autoconf') +depends=('lttoolbox>=3.0' 'apertium>=3.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "configure.ac.patch") +md5sums=('3629d1967374f76d51ad58de24d65875' + 'a00fb565b4270a3864f39cadcf2c1831' + 'de1df1d4a94d1852c584b8de14207168') + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < configure.ac.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + autoreconf -i + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file diff --git a/pcr/apertium/apertium-sv-da/PKGBUILD b/pcr/apertium/apertium-sv-da/PKGBUILD new file mode 100644 index 000000000..c9e9c52b7 --- /dev/null +++ b/pcr/apertium/apertium-sv-da/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> +# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> +pkgname=apertium-sv-da +pkgver=0.5.0 +pkgrel=2 +pkgdesc="Apertium language data for the Swedish-Danish translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig' 'autoconf') +depends=('lttoolbox>=3.0' 'apertium>=3.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch" + "configure.ac.patch") +md5sums=('23d4247a7eb4835a096737a20251bc78' + '276a049384b15d77c6b5164315b593e4' + 'ba12ab1b519a4853478cf27104639e23') + +build() { + patch -p0 < Makefile.am.patch + patch -p0 < configure.ac.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + autoreconf -i + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +}
\ No newline at end of file |