[arch-commits] Commit in gcompris-qt/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 19 11:44:03 UTC 2020
Date: Thursday, November 19, 2020 @ 11:44:01
Author: foutrelis
Revision: 757482
upgpkg: gcompris-qt 1.0-1: new upstream release
Modified:
gcompris-qt/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++--------------
1 file changed, 5 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-19 11:35:15 UTC (rev 757481)
+++ PKGBUILD 2020-11-19 11:44:01 UTC (rev 757482)
@@ -2,7 +2,7 @@
# Contributor: Jose Riha <jose1711 gmail com>
pkgname=gcompris-qt
-pkgver=0.97.1
+pkgver=1.0
pkgrel=1
pkgdesc="Educational software suite comprising of numerous activities for children aged 2 to 10"
arch=('x86_64')
@@ -14,25 +14,16 @@
makedepends=('cmake' 'extra-cmake-modules' 'qt5-tools' 'kdoctools')
replaces=('gcompris' 'gcompris-data')
source=(https://gcompris.net/download/qt/src/$pkgname-$pkgver.tar.xz)
-sha256sums=('e93f0bdf277db3d37779e3daf97b802229ef1f2b2c068514ea4800a9ce5feb20')
+sha256sums=('bad9ace08961254c1bfaa64f9df60f1902b3d3aaeb16a527c0e26302010ebc21')
-prepare() {
- cd $pkgname-$pkgver
- mkdir build
-}
-
build() {
- cd $pkgname-$pkgver/build
-
- cmake \
+ cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DQML_BOX2D_LIBRARY=/usr/lib/qt/qml/Box2D.2.0 \
- ..
- make
+ -DQML_BOX2D_LIBRARY=/usr/lib/qt/qml/Box2D.2.0
+ make -C build
}
package() {
- cd $pkgname-$pkgver
make -C build DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list