[arch-commits] Commit in qstopmotion/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Fri Apr 30 18:23:26 UTC 2021
Date: Friday, April 30, 2021 @ 18:23:25
Author: bgyorgy
Revision: 925388
Minor changes
Modified:
qstopmotion/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++------------------
1 file changed, 11 insertions(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-30 17:51:26 UTC (rev 925387)
+++ PKGBUILD 2021-04-30 18:23:25 UTC (rev 925388)
@@ -3,30 +3,23 @@
pkgname=qstopmotion
pkgver=2.5.2
pkgrel=1
-pkgdesc="Application for creating stop-motion animation movies"
-url="http://qstopmotion.org/"
-license=(GPL2)
-arch=(x86_64)
-depends=(ffmpeg libgphoto2 qt5-multimedia qwt v4l-utils)
-makedepends=(cmake)
+pkgdesc='Application for creating stop-motion animation movies'
+url='http://qstopmotion.org/'
+license=('GPL2')
+arch=('x86_64')
+depends=('ffmpeg' 'libgphoto2' 'qt5-multimedia' 'qwt' 'v4l-utils')
+makedepends=('cmake' 'ninja')
source=("https://downloads.sourceforge.net/$pkgname/Version_${pkgver//./_}/$pkgname-$pkgver-Source.tar.gz"
- "qstopmotion.appdata.xml")
+ 'qstopmotion.appdata.xml')
sha256sums=('8f2054c9a7644ae40a5ceaebe576758f2ea87f5430f12d873f1b8eacf73b4671'
'fd0c4a63f3cd407143257141ab50cacd500821ded2ba1141a6b54def3490b3f1')
-prepare() {
- [[ -d build ]] || mkdir build
-}
-
build() {
- cd build
- cmake -G "Unix Makefiles" ../$pkgname-$pkgver-Source/ \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
+ cmake -S $pkgname-$pkgver-Source -B build -G Ninja -DCMAKE_INSTALL_PREFIX='/usr'
+ cmake --build build
}
package() {
- cd build
- make DESTDIR="$pkgdir" install
- install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
+ DESTDIR="$pkgdir" cmake --install build
+ install -Dm644 $pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
}
More information about the arch-commits
mailing list