summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlisoftware2016-12-02 23:11:32 +0700
committerAlisoftware2016-12-02 23:11:32 +0700
commit0227a3682a9487b3f1826775d8e8c5bec3c05b00 (patch)
treeb88a3d7d67dcf606595fb7189ebc8b1883c415e5 /PKGBUILD
parente9b9fa3a24942b4c2510691f1e2496e15b99afe3 (diff)
downloadaur-kbbi-qt.tar.gz
update kbbi qt
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 12 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0301faabc77..01113eb3866 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,19 @@
# Maintainer: alisoftware <admin at situsali dot com>
pkgname=kbbi-qt
pkgver=1.0
-pkgrel=1
+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" "kbbi-qt.desktop")
-md5sums=('SKIP' 'SKIP')
-
+source=("${pkgname}"::"git+https://github.com/bgli/${pkgname}.git")
+md5sums=('SKIP')
+originname=KBBI-Qt
build() {
- cd ${srcdir}/${pkgname}/src
+ cd ${srcdir}/${pkgname}
qmake KBBI-Qt.pro
make
}
@@ -21,16 +21,15 @@ build() {
package() {
cd ${srcdir}/
mkdir -p ${pkgdir}/usr/bin/
- mkdir -p ${pkgdir}/usr/share/${pkgname}/
- mkdir -p ${pkgdir}/usr/share/${pkgname}/data/
+ mkdir -p ${pkgdir}/usr/share/${originname}/
mkdir -p ${pkgdir}/usr/share/applications/
- mkdir -p ${pkgdir}/usr/share/icons/hicolor/scalable/apps/
+ mkdir -p ${pkgdir}/usr/share/pixmaps/
mkdir -p ${pkgdir}/usr/share/doc/${pkgname}/
mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}/
- install -Dm755 ${pkgname}/src/data/KBBI.db ${pkgdir}/usr/share/${pkgname}/data/
- cp ${pkgname}/src/kbbi-qt.png ${pkgdir}/usr/share/icons/hicolor/scalable/apps/
- install -Dm755 ${pkgname}/src/KBBI-Qt ${pkgdir}/usr/bin/${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}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
-} \ No newline at end of file
+ install -Dm644 -T ${pkgname}/${originname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
+}