blob: 01113eb3866a13fe86fa9c6d698443398a64b466 (
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
|
# Maintainer: alisoftware <admin at situsali dot com>
pkgname=kbbi-qt
pkgver=1.0
pkgrel=3
pkgdesc="Kamus Besar Bahasa Indonesia Luring."
arch=('i686' 'x86_64')
url="https://github.com/bgli/kbbi-qt"
license=('GPL3')
depends=('qt5-base')
makedepends=('make' 'qt5-base' 'git')
source=("${pkgname}"::"git+https://github.com/bgli/${pkgname}.git")
md5sums=('SKIP')
originname=KBBI-Qt
build() {
cd ${srcdir}/${pkgname}
qmake KBBI-Qt.pro
make
}
package() {
cd ${srcdir}/
mkdir -p ${pkgdir}/usr/bin/
mkdir -p ${pkgdir}/usr/share/${originname}/
mkdir -p ${pkgdir}/usr/share/applications/
mkdir -p ${pkgdir}/usr/share/pixmaps/
mkdir -p ${pkgdir}/usr/share/doc/${pkgname}/
mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}/
cp -R ${pkgname}/src/data/ ${pkgdir}/usr/share/${originname}
cp ${pkgname}/src/kbbi-qt.png ${pkgdir}/usr/share/pixmaps/
install -Dm755 ${pkgname}/${originname} ${pkgdir}/usr/bin/
cp ${pkgname}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
cp ${pkgname}/README.md ${pkgdir}/usr/share/doc/${pkgname}/README
install -Dm644 -T ${pkgname}/${originname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
}
|