[arch-commits] Commit in qtspell/repos/community-x86_64 (PKGBUILD PKGBUILD)

Balló György bgyorgy at archlinux.org
Wed Dec 26 15:29:39 UTC 2018


    Date: Wednesday, December 26, 2018 @ 15:29:38
  Author: bgyorgy
Revision: 418148

archrelease: copy trunk to community-x86_64

Added:
  qtspell/repos/community-x86_64/PKGBUILD
    (from rev 418147, qtspell/trunk/PKGBUILD)
Deleted:
  qtspell/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   62 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 33 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-26 15:29:34 UTC (rev 418147)
+++ PKGBUILD	2018-12-26 15:29:38 UTC (rev 418148)
@@ -1,29 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgname=qtspell
-pkgver=0.8.5
-pkgrel=2
-url="https://github.com/manisandro/qtspell"
-pkgdesc="Spell checking for Qt text widgets"
-arch=(x86_64)
-license=(GPL3)
-depends=(enchant iso-codes qt5-base)
-makedepends=(cmake qt5-tools)
-source=($pkgname-$pkgver.tar.gz::https://github.com/manisandro/$pkgname/archive/$pkgver.tar.gz)
-sha256sums=('4d13b8b07b6c572fd6e1896dd87f6516113f36c31aa2d1f3aa9d6bfe672461c5')
-
-prepare() {
-  [[ -d build ]] || mkdir build
-}
-
-build() {
-  cd build
-  cmake -G "Unix Makefiles" ../$pkgname-$pkgver/ \
-    -DCMAKE_INSTALL_PREFIX=/usr
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="$pkgdir" install
-}

Copied: qtspell/repos/community-x86_64/PKGBUILD (from rev 418147, qtspell/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-12-26 15:29:38 UTC (rev 418148)
@@ -0,0 +1,33 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=qtspell
+pkgver=0.8.5
+pkgrel=3
+url="https://github.com/manisandro/qtspell"
+pkgdesc="Spell checking for Qt text widgets"
+arch=(x86_64)
+license=(GPL3)
+depends=(enchant iso-codes qt5-base)
+makedepends=(cmake qt5-tools)
+source=($pkgname-$pkgver.tar.gz::https://github.com/manisandro/$pkgname/archive/$pkgver.tar.gz)
+sha256sums=('4d13b8b07b6c572fd6e1896dd87f6516113f36c31aa2d1f3aa9d6bfe672461c5')
+
+prepare() {
+  [[ -d build ]] || mkdir build
+  cd $pkgname-$pkgver
+
+  # Fix location of translations
+  sed -i 's|share/${QT_VER}/translations)|share/qt/translations)|' CMakeLists.txt
+}
+
+build() {
+  cd build
+  cmake -G "Unix Makefiles" ../$pkgname-$pkgver/ \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list