summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlisoftware2016-11-12 00:14:59 +0700
committerAlisoftware2016-11-12 00:14:59 +0700
commite9b9fa3a24942b4c2510691f1e2496e15b99afe3 (patch)
treef76b6abcc559b3e8913ea8142d30fd609942f296
downloadaur-e9b9fa3a24942b4c2510691f1e2496e15b99afe3.tar.gz
kbbi-qt
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD36
-rw-r--r--kbbi-qt.desktop8
3 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..38a93a4e70f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = kbbi-qt
+ pkgdesc = Kamus Besar Bahasa Indonesia Luring.
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://github.com/bgli/kbbi-qt
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = make
+ makedepends = qt5-base
+ 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
new file mode 100644
index 00000000000..0301faabc77
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: alisoftware <admin at situsali dot com>
+pkgname=kbbi-qt
+pkgver=1.0
+pkgrel=1
+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')
+
+
+build() {
+ cd ${srcdir}/${pkgname}/src
+ qmake KBBI-Qt.pro
+ make
+}
+
+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/applications/
+ mkdir -p ${pkgdir}/usr/share/icons/hicolor/scalable/apps/
+ 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 ${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
diff --git a/kbbi-qt.desktop b/kbbi-qt.desktop
new file mode 100644
index 00000000000..7be2106014b
--- /dev/null
+++ b/kbbi-qt.desktop
@@ -0,0 +1,8 @@
+[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