summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bad3fd132595d29201dea1d2df16bbbdbd198db0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: bergentroll <bergentroll@insiberia.net>

pkgname=goldendict-enruen-content
pkgver=1.1
pkgrel=1
pkgdesc="English-Russian-English dictionaries for Goldendict with pronounces"
license=('GPL2')
install=$pkgname.install
optdepends=(
'goldendict: for using this dictionary',
'goldendict-qt5-git: 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 {} \+
}