summaryrefslogtreecommitdiff
path: root/pcr/apertium/apertium-mk-bg
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-bg
parent1e4284afcc1c32026ff03c8919ec8328b8f06bf9 (diff)
import more apertium files
Diffstat (limited to 'pcr/apertium/apertium-mk-bg')
-rw-r--r--pcr/apertium/apertium-mk-bg/Makefile.am.patch27
-rw-r--r--pcr/apertium/apertium-mk-bg/Makefile.in.patch15
-rw-r--r--pcr/apertium/apertium-mk-bg/PKGBUILD5
3 files changed, 47 insertions, 0 deletions
diff --git a/pcr/apertium/apertium-mk-bg/Makefile.am.patch b/pcr/apertium/apertium-mk-bg/Makefile.am.patch
new file mode 100644
index 000000000..d0819346b
--- /dev/null
+++ b/pcr/apertium/apertium-mk-bg/Makefile.am.patch
@@ -0,0 +1,27 @@
+--- ../apertium-mk-bg-0.2.0/Makefile.am 2010-10-26 13:44:25.000000000 +0200
++++ apertium-mk-bg-0.2.0/Makefile.am 2012-02-09 08:49:22.128894204 +0100
+@@ -77,7 +77,7 @@
+ clean-dicts:
+ touch $(BASENAME).$(LANG1).dix $(BASENAME).$(LANG2).dix $(BASENAME).$(PREFIX1).dix
+ rm $(BASENAME).$(LANG1).dix
+-
++
+ apertium_mk_bgmodesdir=$(prefix)/share/apertium/modes/
+ apertium_mk_bgdir=$(prefix)/share/apertium/apertium-$(PREFIX1)/
+ apertium_mk_bg_DATA=$(PREFIX1).automorf.bin $(PREFIX2).automorf.bin \
+@@ -95,11 +95,11 @@
+ $(PREFIX1).autopgen.bin \
+ $(PREFIX1).mode \
+ $(PREFIX2).mode
+-
++
+ install-data-local:
+ apertium-gen-modes modes.xml apertium-$(PREFIX1)
+- $(INSTALL_DATA) $(PREFIX1).mode $(apertium_mk_bgmodesdir)
+- $(INSTALL_DATA) $(PREFIX2).mode $(apertium_mk_bgmodesdir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX2).t1x $(apertium_mk_bgdir)
++ $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_mk_bgmodesdir)
++ $(INSTALL_DATA) $(PREFIX2).mode $(DESTDIR)$(apertium_mk_bgmodesdir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX2).t1x $(DESTDIR)$(apertium_mk_bgdir)
+
+ CLEANFILES = -r $(TARGETS_COMMON)
diff --git a/pcr/apertium/apertium-mk-bg/Makefile.in.patch b/pcr/apertium/apertium-mk-bg/Makefile.in.patch
new file mode 100644
index 000000000..10eeeca7c
--- /dev/null
+++ b/pcr/apertium/apertium-mk-bg/Makefile.in.patch
@@ -0,0 +1,15 @@
+--- ../apertium-mk-bg-0.2.0/Makefile.in 2010-10-26 13:44:30.000000000 +0200
++++ apertium-mk-bg-0.2.0/Makefile.in 2012-02-09 08:49:07.935637762 +0100
+@@ -515,9 +515,9 @@
+
+ install-data-local:
+ apertium-gen-modes modes.xml apertium-$(PREFIX1)
+- $(INSTALL_DATA) $(PREFIX1).mode $(apertium_mk_bgmodesdir)
+- $(INSTALL_DATA) $(PREFIX2).mode $(apertium_mk_bgmodesdir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX2).t1x $(apertium_mk_bgdir)
++ $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_mk_bgmodesdir)
++ $(INSTALL_DATA) $(PREFIX2).mode $(DESTDIR)$(apertium_mk_bgmodesdir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX2).t1x $(DESTDIR)$(apertium_mk_bgdir)
+ # 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.
+ .NOEXPORT:
diff --git a/pcr/apertium/apertium-mk-bg/PKGBUILD b/pcr/apertium/apertium-mk-bg/PKGBUILD
index 003f9c8de..1225cce9a 100644
--- a/pcr/apertium/apertium-mk-bg/PKGBUILD
+++ b/pcr/apertium/apertium-mk-bg/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