summaryrefslogtreecommitdiff
path: root/pcr/apertium/apertium-mk-en
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2016-06-02 18:31:49 -0400
committerGaming4JC <g4jc@openmailbox.org>2016-06-02 18:31:49 -0400
commitb5b9c72ea9fc05600bfcab6569ce89ca2185d19d (patch)
treefc92b97e871bd08979ef19467f61df82944823a9 /pcr/apertium/apertium-mk-en
parent1e4284afcc1c32026ff03c8919ec8328b8f06bf9 (diff)
downloadabslibre-b5b9c72ea9fc05600bfcab6569ce89ca2185d19d.tar.gz
abslibre-b5b9c72ea9fc05600bfcab6569ce89ca2185d19d.tar.bz2
abslibre-b5b9c72ea9fc05600bfcab6569ce89ca2185d19d.zip
import more apertium files
Diffstat (limited to 'pcr/apertium/apertium-mk-en')
-rw-r--r--pcr/apertium/apertium-mk-en/Makefile.am.patch29
-rw-r--r--pcr/apertium/apertium-mk-en/Makefile.in.patch17
-rw-r--r--pcr/apertium/apertium-mk-en/PKGBUILD5
3 files changed, 51 insertions, 0 deletions
diff --git a/pcr/apertium/apertium-mk-en/Makefile.am.patch b/pcr/apertium/apertium-mk-en/Makefile.am.patch
new file mode 100644
index 000000000..7d988dc2f
--- /dev/null
+++ b/pcr/apertium/apertium-mk-en/Makefile.am.patch
@@ -0,0 +1,29 @@
+--- ../apertium-mk-en-0.1.1/Makefile.am 2012-02-08 22:55:49.000000000 +0100
++++ apertium-mk-en-0.1.1/Makefile.am 2012-02-09 08:27:51.750590033 +0100
+@@ -79,7 +79,7 @@
+ clean-dicts:
+ touch $(BASENAME).$(LANG1).dix $(BASENAME).$(LANG2).dix $(BASENAME).$(PREFIX1).dix
+ rm $(BASENAME).$(LANG1).dix
+-
++
+ apertium_mk_enmodesdir=$(prefix)/share/apertium/modes/
+ apertium_mk_endir=$(prefix)/share/apertium/apertium-$(PREFIX1)/
+ apertium_mk_en_DATA=$(PREFIX1).automorf.bin $(PREFIX2).automorf.bin \
+@@ -98,12 +98,12 @@
+ $(BASENAME).$(PREFIX1).t3x \
+ $(PREFIX1).autopgen.bin \
+ $(PREFIX1).mode
+-
++
+ install-data-local:
+ apertium-gen-modes modes.xml apertium-$(PREFIX1)
+- $(INSTALL_DATA) $(PREFIX1).mode $(apertium_mk_enmodesdir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(apertium_mk_endir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t2x $(apertium_mk_endir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(apertium_mk_endir)
++ $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_mk_enmodesdir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(DESTDIR)$(apertium_mk_endir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t2x $(DESTDIR)$(apertium_mk_endir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(DESTDIR)$(apertium_mk_endir)
+
+ CLEANFILES = -r $(TARGETS_COMMON)
diff --git a/pcr/apertium/apertium-mk-en/Makefile.in.patch b/pcr/apertium/apertium-mk-en/Makefile.in.patch
new file mode 100644
index 000000000..4563f9749
--- /dev/null
+++ b/pcr/apertium/apertium-mk-en/Makefile.in.patch
@@ -0,0 +1,17 @@
+--- ../apertium-mk-en-0.1.1/Makefile.in 2012-02-08 22:56:07.000000000 +0100
++++ apertium-mk-en-0.1.1/Makefile.in 2012-02-09 08:27:26.272791534 +0100
+@@ -595,10 +595,10 @@
+
+ install-data-local:
+ apertium-gen-modes modes.xml apertium-$(PREFIX1)
+- $(INSTALL_DATA) $(PREFIX1).mode $(apertium_mk_enmodesdir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(apertium_mk_endir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t2x $(apertium_mk_endir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(apertium_mk_endir)
++ $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_mk_enmodesdir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(DESTDIR)$(apertium_mk_endir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t2x $(DESTDIR)$(apertium_mk_endir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(DESTDIR)$(apertium_mk_endir)
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/pcr/apertium/apertium-mk-en/PKGBUILD b/pcr/apertium/apertium-mk-en/PKGBUILD
index 7c6c30dac..e55feaeba 100644
--- a/pcr/apertium/apertium-mk-en/PKGBUILD
+++ b/pcr/apertium/apertium-mk-en/PKGBUILD
@@ -28,4 +28,9 @@ build() {
./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