diff options
Diffstat (limited to 'pcr/apertium-tolk-svn/PKGBUILD')
-rw-r--r-- | pcr/apertium-tolk-svn/PKGBUILD | 36 |
1 files changed, 36 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 |