summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlisoftware2016-12-02 23:11:32 +0700
committerAlisoftware2016-12-02 23:11:32 +0700
commit0227a3682a9487b3f1826775d8e8c5bec3c05b00 (patch)
treeb88a3d7d67dcf606595fb7189ebc8b1883c415e5
parente9b9fa3a24942b4c2510691f1e2496e15b99afe3 (diff)
downloadaur-0227a3682a9487b3f1826775d8e8c5bec3c05b00.tar.gz
update kbbi qt
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD25
-rw-r--r--kbbi-qt.desktop8
3 files changed, 13 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 38a93a4e70f..f33cfad5b31 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = kbbi-qt
pkgdesc = Kamus Besar Bahasa Indonesia Luring.
pkgver = 1.0
- pkgrel = 1
+ pkgrel = 3
url = https://github.com/bgli/kbbi-qt
arch = i686
arch = x86_64
@@ -11,8 +11,6 @@ pkgbase = kbbi-qt
makedepends = git
depends = qt5-base
source = kbbi-qt::git+https://github.com/bgli/kbbi-qt.git
- source = kbbi-qt.desktop
- md5sums = SKIP
md5sums = SKIP
pkgname = kbbi-qt
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
+}
diff --git a/kbbi-qt.desktop b/kbbi-qt.desktop
deleted file mode 100644
index 7be2106014b..00000000000
--- a/kbbi-qt.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=KBBI-Qt
-Comment=Kamus Besar Bahasa Indonesia
-GenericName=kbbi-qt
-Exec=/usr/bin/kbbi-qt
-Type=Application
-Icon=kbbi-qt.png
-Categories=Education; \ No newline at end of file