blob: bb211a80e86befe729f8290c76435f5ed516022f (
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
39
40
41
42
43
44
45
46
47
|
# Maintainer: Icaro Perseo <icaroperseo[at]protonmail[dot]com>
pkgname=qdc
pkgver=1.0.0
pkgrel=1
pkgdesc="Castilian dictionary written using Qt5"
arch=('i686' 'x86_64')
conflicts=('qrae-git')
url="https://github.com/javierllorente/qdc/"
license=('GPL' 'GPL3')
depends=('hicolor-icon-theme' 'qt5-webkit')
source=("https://github.com/javierllorente/qdc/archive/v1.0.0/qdc-1.0.0.tar.gz")
sha256sums=('2f34c176cba20fb9ce73310ad12e67c6f985766b2797aa38b56bf7089c51863b')
build() {
cd $pkgname-$pkgver
qmake qdc.pro
make
}
package() {
cd $pkgname-$pkgver
make INSTALL_ROOT="${pkgdir}" install
# Desktop file
install -Dm644 qdc.desktop \
"$pkgdir/usr/share/applications/qdc.desktop"
# Icon
install -Dm644 icons/qdc.png \
"$pkgdir/usr/share/icons/hicolor/128x128/apps/qdc.png"
# Migration bash script (migrate conf files from qRAE to qdc)
install -Dm644 scripts/migrate.sh \
"$pkgdir/usr/share/${pkgname}/autostart/migrate.sh"
# Doc files
install -Dm644 ChangeLog \
"$pkgdir/usr/share/doc/${pkgname}/ChangeLog"
# License
install -Dm644 COPYING \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 cc=80 et:
|