summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6b41e0d2cc15726d1ca7b1b00d9382fed18823d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Anton Karmanov <a.karmanov@inventati.org>

pkgname=goldendict-enruen-content
pkgver=1.1
pkgrel=2
pkgdesc='English-Russian-English dictionaries for Goldendict with pronounces'
license=('GPL-2.0-only')
install=$pkgname.install
optdepends=('goldendict: for using this dictionary')
url='http://www.goldendict.org'
source=("http://downloads.sourceforge.net/goldendict/enruen-content-${pkgver}.tar.bz2")
md5sums=('4db1fd87067c603750c2f2741b90a359')
arch=(any)

package() {
  TARGET='/usr/share/goldendict/'
  mkdir -p "$pkgdir$TARGET"
  cp -r "$srcdir/content/" "$pkgdir$TARGET"
  find "$pkgdir${TARGET}content/" -type d -exec chmod 755 {} \+
  find "$pkgdir${TARGET}content/" -type f -exec chmod 644 {} \+
}