diff options
author | Jaroslav Lichtblau | 2014-12-28 20:06:00 +0100 |
---|---|---|
committer | Jaroslav Lichtblau | 2014-12-28 20:06:00 +0100 |
commit | 71bde535a357da981f7df1b3da107e881ade9515 (patch) | |
tree | 62dba85634fe6d66543650cd408963d0189a3052 | |
parent | 3bee31a06ea57a7bf903a97f24125ed9336f3849 (diff) | |
download | aur-71bde535a357da981f7df1b3da107e881ade9515.tar.gz |
omegat/omegat-beta
removing obsolete files instruction fix
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 8 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = omegat pkgdesc = Multiplatform CAT tool application, written in Java pkgver = 3.1.8 - pkgrel = 1 + pkgrel = 2 url = http://www.omegat.org/en/omegat.html install = omegat.install arch = any @@ -2,7 +2,7 @@ pkgname=omegat pkgver=3.1.8 -pkgrel=1 +pkgrel=2 pkgdesc="Multiplatform CAT tool application, written in Java" arch=('any') url="http://www.omegat.org/en/omegat.html" @@ -46,6 +46,10 @@ package() { #removing obsolete files rm -rf "${pkgdir}"/usr/share/java/$pkgname/{*.{zip,desktop,sh,kaptn},OmegaT,OmegaT.bat,icons} rm "${pkgdir}"/usr/share/java/$pkgname/native/*.{dll,dylib} -[[ "$CARCH" = "i686" ]] && rm "${pkgdir}"/usr/share/java/$pkgname/native/libhunspell-linux64.so -[[ "$CARCH" = "x86_64" ]] && rm "${pkgdir}"/usr/share/java/$pkgname/native/libhunspell-linux32.so + +if [[ "$CARCH" == "x86_64" ]]; then + rm "${pkgdir}"/usr/share/java/$pkgname/native/libhunspell-linux32.so +else + rm "${pkgdir}"/usr/share/java/$pkgname/native/libhunspell-linux64.so +fi } |