summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD29
2 files changed, 25 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index df9cb11abc4..55c5215bdad 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = crow-translate
- pkgdesc = A simple and lightweight translator that allows to translate and speak the selected text using the Google Translate API
- pkgver = 0.9.9
+ pkgdesc = A simple and lightweight translator that allows to translate and say selected text using the Google Translate API and much more
+ pkgver = 1.0.0
pkgrel = 1
- url = https://github.com/Shatur95/Crow-Translate
+ url = https://github.com/Shatur95/crow-translate
arch = x86_64
license = GPL3
makedepends = qt5-tools
@@ -10,12 +10,14 @@ pkgbase = crow-translate
depends = qt5-multimedia
depends = gst-plugins-good
depends = openssl
- source = Crow-Translate.tar.gz::https://github.com/Shatur95/Crow-Translate/archive/0.9.9.tar.gz
- source = QOnlineTranslator-submodule.tar.gz::https://github.com/Shatur95/QOnlineTranslator/archive/0.8.0.tar.gz
+ source = crow-translate.tar.gz::https://github.com/Shatur95/crow-translate/archive/1.0.0.tar.gz
+ source = QOnlineTranslator-submodule.tar.gz::https://github.com/Shatur95/QOnlineTranslator/archive/0.9.0.tar.gz
+ source = QGitRelease-submodule.tar.gz::https://github.com/Shatur95/QGitRelease/archive/1.0.0.tar.gz
source = QHotkey-submodule.tar.gz::https://github.com/Skycoder42/QHotkey/archive/1.2.2.tar.gz
source = SingleApplication-submodule.tar.gz::https://github.com/itay-grudev/SingleApplication/archive/v3.0.10.tar.gz
- sha256sums = 8a6ccdcc0bda941420be24d3322936117a982771e3686c18494a8da4eed9ecb0
- sha256sums = 2accf32e3335061c524cc15be8c0dea2f7ea8df5c191a40e6aeffa3641dbde0e
+ sha256sums = 6dff169f99d955ff286bbb362a44d747b8cb3b75864a00e6ec4a7d10c9713554
+ sha256sums = 8fbdb91ac1d8f3e103de44ab41f65b687d735aa21519082be7f48e3ce7ba4ebc
+ sha256sums = cf45aed712bccc94f13f065cf0ce77a48b3b50bdc95671ddcfd7c1d714a069e8
sha256sums = 1a5a6eb81738a8f232df2dd5c908839871077e10ca3b9a6437daf5fda53d86ad
sha256sums = 9c8ae7431ea008c4516456615558c433940d3d0a144dc549f5aac43193b4afc0
diff --git a/PKGBUILD b/PKGBUILD
index 405a7fa724a..72d97a7f1df 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,37 +1,40 @@
# Maintainer: Shatur95 <genaloner@gmail.com>
pkgname=crow-translate
-pkgver=0.9.9
+pkgver=1.0.0
pkgrel=1
-pkgdesc="A simple and lightweight translator that allows to translate and speak the selected text using the Google Translate API"
+pkgdesc="A simple and lightweight translator that allows to translate and say selected text using the Google Translate API and much more"
arch=('x86_64')
-url="https://github.com/Shatur95/Crow-Translate"
+url="https://github.com/Shatur95/crow-translate"
license=('GPL3')
depends=('qt5-base' 'qt5-multimedia' 'gst-plugins-good' 'openssl')
makedepends=('qt5-tools')
-source=(Crow-Translate.tar.gz::"https://github.com/Shatur95/Crow-Translate/archive/$pkgver.tar.gz"
- QOnlineTranslator-submodule.tar.gz::"https://github.com/Shatur95/QOnlineTranslator/archive/0.8.0.tar.gz"
+source=($pkgname.tar.gz::"https://github.com/Shatur95/crow-translate/archive/$pkgver.tar.gz"
+ QOnlineTranslator-submodule.tar.gz::"https://github.com/Shatur95/QOnlineTranslator/archive/0.9.0.tar.gz"
+ QGitRelease-submodule.tar.gz::"https://github.com/Shatur95/QGitRelease/archive/1.0.0.tar.gz"
QHotkey-submodule.tar.gz::"https://github.com/Skycoder42/QHotkey/archive/1.2.2.tar.gz"
SingleApplication-submodule.tar.gz::"https://github.com/itay-grudev/SingleApplication/archive/v3.0.10.tar.gz")
-sha256sums=('8a6ccdcc0bda941420be24d3322936117a982771e3686c18494a8da4eed9ecb0'
- '2accf32e3335061c524cc15be8c0dea2f7ea8df5c191a40e6aeffa3641dbde0e'
+sha256sums=('6dff169f99d955ff286bbb362a44d747b8cb3b75864a00e6ec4a7d10c9713554'
+ '8fbdb91ac1d8f3e103de44ab41f65b687d735aa21519082be7f48e3ce7ba4ebc'
+ 'cf45aed712bccc94f13f065cf0ce77a48b3b50bdc95671ddcfd7c1d714a069e8'
'1a5a6eb81738a8f232df2dd5c908839871077e10ca3b9a6437daf5fda53d86ad'
'9c8ae7431ea008c4516456615558c433940d3d0a144dc549f5aac43193b4afc0')
-# Move the submodules into the project
+# Move submodules into the project
prepare() {
- mv QOnlineTranslator-0.8.0/* Crow-Translate-$pkgver/src/qonlinetranslator
- mv QHotkey-1.2.2/* Crow-Translate-$pkgver/src/third-party/qhotkey
- mv SingleApplication-3.0.10/* Crow-Translate-$pkgver/src/third-party/singleapplication
+ mv QOnlineTranslator-0.9.0/* "$pkgname-$pkgver/src/qonlinetranslator"
+ mv QGitRelease-1.0.0/* "$pkgname-$pkgver/src/qgitrelease"
+ mv QHotkey-1.2.2/* "$pkgname-$pkgver/src/third-party/qhotkey"
+ mv SingleApplication-3.0.10/* "$pkgname-$pkgver/src/third-party/singleapplication"
}
build() {
- cd Crow-Translate-$pkgver
+ cd "$pkgname-$pkgver"
qmake
make
}
package() {
- cd Crow-Translate-$pkgver
+ cd "$pkgname-$pkgver"
make INSTALL_ROOT="$pkgdir/" install
}