summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e0f3c88c3c4babfeca76dedfb61278b158799883 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer: Pierre CHOFFET <pierre@choffet.net>
pkgname=qdictionnaire
pkgver=3.0
pkgrel=1
epoch=
pkgdesc="Collection of dictionnaries in french language"
arch=(i686 x86_64)
url="http://www.gillesmaire.com/tiki-index.php?page=qdictionnaire"
license=('GPL')
groups=()
depends=(qt5-base)
makedepends=(qt5-base)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git://git.code.sf.net/p/dicorime/qdicorime")
noextract=()
md5sums=('SKIP') # generate with 'makepkg -g'

build() {
	cd qdicorime/qdictionnaire-${pkgver}
	qmake -makefile
	make
}

package() {
	mkdir -p ${pkgdir}/usr/bin
	cp ${srcdir}/qdicorime/qdictionnaire-${pkgver}/bin/qdictionnaire ${pkgdir}/usr/bin/

	mkdir -p ${pkgdir}/usr/share/qdictionnaire/
	cp ${srcdir}/qdicorime/qdictionnaire-${pkgver}/base/qdictionnaire.db ${pkgdir}/usr/share/qdictionnaire/
}