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-tolk-svn | |
parent | 5281e4b89dbde5ee96c21c1e45ec708d1af937a8 (diff) | |
download | abslibre-82d053b14aa5a46da43e14ae72fdb9ec614aae3e.tar.gz abslibre-82d053b14aa5a46da43e14ae72fdb9ec614aae3e.tar.bz2 abslibre-82d053b14aa5a46da43e14ae72fdb9ec614aae3e.zip |
adding apertium and dependencies
Diffstat (limited to 'pcr/apertium-tolk-svn')
-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 |