diff options
-rw-r--r-- | pcr/apertium-viewer/PKGBUILD | 27 | ||||
-rw-r--r-- | pcr/apertium-viewer/PKGBUILD?h=apertium-viewer | 42 |
2 files changed, 57 insertions, 12 deletions
diff --git a/pcr/apertium-viewer/PKGBUILD b/pcr/apertium-viewer/PKGBUILD index c0676f023..9d2153cda 100644 --- a/pcr/apertium-viewer/PKGBUILD +++ b/pcr/apertium-viewer/PKGBUILD @@ -1,18 +1,21 @@ -# Maintainer: ValHue <vhuelamo at gmail dot com> +# Maintainer (AUR): ValHue <vhuelamo at gmail dot com> # https://github.com/ValHue/AUR-PKGBUILDs +# parabola changes and rationale: +# no changes. + pkgname="apertium-viewer" -pkgver=2.5.2 +pkgver=2.5.3 pkgrel=1 pkgdesc="A tool to view and edit the output of the various stages of an apertium translation." url="http://wiki.apertium.org/wiki/Apertium-view" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'armv7h') license=('GPL2') depends=('java-environment') conflicts=("${pkgname}") provides=("${pkgname}") source=("https://svn.code.sf.net/p/apertium/svn/builds/apertium-viewer/apertium-viewer.jar") -sha256sums=('de5e7367ec2b890c1d3a97c75ba0819d25ff78b393154cc190e1324ca509e062') +sha256sums=('a445759095abb7c98b976032a07aa729740883eb52a3edb752eb33952033dc10') options=() _apertium_viewer_desktop="[Desktop Entry] @@ -25,18 +28,18 @@ Icon=apertium.png" build() { cd "${srcdir}" - echo -e "$_apertium_viewer_desktop" | tee apertium-viewer.desktop + echo -e "$_apertium_viewer_desktop" | tee apertium-viewer.desktop echo "java -Xmx500m -jar /usr/share/apertium/apertium-viewer.jar" > apertium-viewer } package() { cd "${srcdir}" - install -d ${pkgdir}/usr/bin - install -d ${pkgdir}/usr/share/{apertium,applications,pixmaps,} - install -m 644 apertium-viewer.jar "${pkgdir}/usr/share/apertium/" - install -m 644 *.desktop "${pkgdir}/usr/share/applications/" - install -m 644 apertiumview/resources/apertium.png "${pkgdir}/usr/share/pixmaps/" - install -m 755 apertium-viewer "${pkgdir}/usr/bin/" + install -d ${pkgdir}/usr/bin + install -d ${pkgdir}/usr/share/{apertium,applications,pixmaps,} + install -m 644 apertium-viewer.jar "${pkgdir}/usr/share/apertium/" + install -m 644 *.desktop "${pkgdir}/usr/share/applications/" + install -m 644 apertiumview/resources/apertium.png "${pkgdir}/usr/share/pixmaps/" + install -m 755 apertium-viewer "${pkgdir}/usr/bin/" } -# vim:set ts=4 sw=2 ft=sh et:
\ No newline at end of file +# vim:set ts=4 sw=2 ft=sh et: diff --git a/pcr/apertium-viewer/PKGBUILD?h=apertium-viewer b/pcr/apertium-viewer/PKGBUILD?h=apertium-viewer new file mode 100644 index 000000000..3ac2924e6 --- /dev/null +++ b/pcr/apertium-viewer/PKGBUILD?h=apertium-viewer @@ -0,0 +1,42 @@ +# Maintainer: ValHue <vhuelamo at gmail dot com> +# https://github.com/ValHue/AUR-PKGBUILDs + +pkgname="apertium-viewer" +pkgver=2.5.3 +pkgrel=1 +pkgdesc="A tool to view and edit the output of the various stages of an apertium translation." +url="http://wiki.apertium.org/wiki/Apertium-view" +arch=('i686' 'x86_64') +license=('GPL2') +depends=('java-environment') +conflicts=("${pkgname}") +provides=("${pkgname}") +source=("https://svn.code.sf.net/p/apertium/svn/builds/apertium-viewer/apertium-viewer.jar") +sha256sums=('a445759095abb7c98b976032a07aa729740883eb52a3edb752eb33952033dc10') +options=() + +_apertium_viewer_desktop="[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Exec=apertium-viewer +Name=Apertium Viewer +Icon=apertium.png" + +build() { + cd "${srcdir}" + echo -e "$_apertium_viewer_desktop" | tee apertium-viewer.desktop + echo "java -Xmx500m -jar /usr/share/apertium/apertium-viewer.jar" > apertium-viewer +} + +package() { + cd "${srcdir}" + install -d ${pkgdir}/usr/bin + install -d ${pkgdir}/usr/share/{apertium,applications,pixmaps,} + install -m 644 apertium-viewer.jar "${pkgdir}/usr/share/apertium/" + install -m 644 *.desktop "${pkgdir}/usr/share/applications/" + install -m 644 apertiumview/resources/apertium.png "${pkgdir}/usr/share/pixmaps/" + install -m 755 apertium-viewer "${pkgdir}/usr/bin/" +} + +# vim:set ts=4 sw=2 ft=sh et: |