summaryrefslogtreecommitdiff
path: root/pcr/apertium/apertium-sv-da
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/apertium/apertium-sv-da')
-rw-r--r--pcr/apertium/apertium-sv-da/Makefile.am.patch35
-rw-r--r--pcr/apertium/apertium-sv-da/PKGBUILD37
-rw-r--r--pcr/apertium/apertium-sv-da/configure.ac.patch19
3 files changed, 0 insertions, 91 deletions
diff --git a/pcr/apertium/apertium-sv-da/Makefile.am.patch b/pcr/apertium/apertium-sv-da/Makefile.am.patch
deleted file mode 100644
index 13542d70c..000000000
--- a/pcr/apertium/apertium-sv-da/Makefile.am.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- ../apertium-sv-da-0.5.0/Makefile.am 2009-09-22 14:53:23.000000000 +0200
-+++ apertium-sv-da-0.5.0/Makefile.am 2010-09-15 15:34:16.000000000 +0200
-@@ -53,7 +53,7 @@
- apertium-validate-transfer $(BASENAME).$(PREFIX2).t1x
- apertium-preprocess-transfer $(BASENAME).$(PREFIX2).t1x \
- $(PREFIX2).t1x.bin
--
-+
-
- $(PREFIX1).mode: modes.xml
- apertium-gen-modes modes.xml
-@@ -68,7 +68,7 @@
- $(BASENAME).$(LANG2).dix $(BASENAME).$(LANG1).tsx \
- $(BASENAME).$(LANG2).tsx $(BASENAME).$(PREFIX1).t1x \
- $(BASENAME).$(PREFIX2).t1x $(PREFIX1).prob $(PREFIX2).prob modes.xml
--
-+
- apertium_sv_modesdir=$(prefix)/share/apertium/modes/
- apertium_sv_dadir=$(prefix)/share/apertium/apertium-$(PREFIX1)/
- apertium_sv_da_DATA=$(PREFIX1).automorf.bin $(PREFIX2).automorf.bin \
-@@ -82,10 +82,10 @@
-
- install-data-local:
- apertium-gen-modes modes.xml apertium-$(PREFIX1)
-- $(INSTALL_DATA) $(PREFIX1).mode $(apertium_sv_modesdir)
-- $(INSTALL_DATA) $(PREFIX2).mode $(apertium_sv_modesdir)
-- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(apertium_sv_dadir)
-- $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t1x $(apertium_sv_dadir)
-+ $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_sv_modesdir)
-+ $(INSTALL_DATA) $(PREFIX2).mode $(DESTDIR)$(apertium_sv_modesdir)
-+ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(DESTDIR)$(apertium_sv_dadir)
-+ $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t1x $(DESTDIR)$(apertium_sv_dadir)
- cp *.mode modes/
-
-
diff --git a/pcr/apertium/apertium-sv-da/PKGBUILD b/pcr/apertium/apertium-sv-da/PKGBUILD
deleted file mode 100644
index bbd1b2a34..000000000
--- a/pcr/apertium/apertium-sv-da/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# 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
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
-} \ No newline at end of file
diff --git a/pcr/apertium/apertium-sv-da/configure.ac.patch b/pcr/apertium/apertium-sv-da/configure.ac.patch
deleted file mode 100644
index e986d2c9b..000000000
--- a/pcr/apertium/apertium-sv-da/configure.ac.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- ../apertium-sv-da-0.5.0/configure.ac 2009-09-22 14:47:25.000000000 +0200
-+++ apertium-sv-da-0.5.0/configure.ac 2010-09-21 16:39:20.487405444 +0200
-@@ -19,8 +19,14 @@
- APERTIUM_VER=30
- ],
- [
-- PKG_CHECK_MODULES(APERTIUM, apertium-3.1 >= 3.1.0)
-- APERTIUM_VER=31
-+ PKG_CHECK_MODULES(APERTIUM, apertium-3.1 >= 3.1.0,
-+ [
-+ APERTIUM_VER=31
-+ ],
-+ [
-+ PKG_CHECK_MODULES(APERTIUM, apertium-3.2 >= 3.2.0)
-+ APERTIUM_VER=32
-+ ])
- ])
- AC_SUBST(APERTIUM_VER)
- ])