diff options
author | Gabriel Moura | 2020-03-27 03:47:26 -0300 |
---|---|---|
committer | Gabriel Moura | 2020-03-27 03:47:26 -0300 |
commit | 1511c6b943344f4db61df4f2eb45d18e91871cff (patch) | |
tree | 74b8fdbed4165c951c135b73ab31f5f2678f7762 /PKGBUILD | |
download | aur-1511c6b943344f4db61df4f2eb45d18e91871cff.tar.gz |
bibleanalyzer-5.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3c803ed6bad8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,51 @@ +pkgname=bibleanalyzer +pkgver=5.2 +pkgrel=1 +pkgdesc="Bible Analyzer - Bible Study and Analysis Software" +arch=("any") +url="http://www.bibleanalyzer.com" +license=('Custon:bibleanalyzer') +depends=("python>=2.7" "python2-wxpython3" "python2-pillow>=3.1" "python2-espeak>=0.3" "python2-configobj>=4.7" "xsel" "gst-plugins-ugly") + +source=("https://www.bibleanalyzer.com/bibleanalyzer_5.2-1_all.deb") + + +package() { + tar -xf data.tar.xz -C "${pkgdir}"/ + install -Dm644 "$pkgdir/usr/share/doc/bibleanalyzer/copyright" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + +} + +post_install(){ + if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then + update-menus +fi + +if [ "$1" = "configure" ] && [ -x "`which update-desktop-database 2>/dev/null`" ]; then + update-desktop-database /usr/share/applications/ +fi + +if [ "$1" = "configure" ] && [ -x "`which update-mime-database 2>/dev/null`" ]; then + update-mime-database /usr/share/mime +fi + +if [ "$1" = "configure" ] && [ -x "`which gtk-update-icon-cache 2>/dev/null`" ] && [ -x /usr/share/icons/gnome/index.theme ]; then + gtk-update-icon-cache --force /usr/share/icons/gnome +fi + +if [ "$1" = "configure" ] && [ -x "`which locale-gen 2>/dev/null`" ]; then + locale-gen pt_BR +fi +} +post_remove(){ + if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi + +if [ -x "`which update-desktop-database 2>/dev/null`" ]; then update-desktop-database /usr/share/applications/ ; fi + +if [ -x "`which update-mime-database 2>/dev/null`" ]; then update-mime-database /usr/share/mime ; fi + +if [ -x "`which gtk-update-icon-cache 2>/dev/null`" ] && [ -x /usr/share/icons/gnome/index.theme ]; then gtk-update-icon-cache --force /usr/share/icons/gnome ; fi + +} +md5sums=('9cdc55b5ffade3f31264772699a58405') +sha512sums=('cb9aa86c4f3cd5bdfbdc78a41c021a31e3cd25256e44911b9e5e02c2d62121d7686524678a25c7d8c03dff478bf4c96df37d02748009480ccd9c79e099a4abe0') |