[arch-commits] Commit in frei0r-plugins/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Sun May 2 00:50:05 UTC 2021


    Date: Sunday, May 2, 2021 @ 00:50:04
  Author: bgyorgy
Revision: 926072

Minor changes

Modified:
  frei0r-plugins/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-02 00:42:18 UTC (rev 926071)
+++ PKGBUILD	2021-05-02 00:50:04 UTC (rev 926072)
@@ -4,27 +4,23 @@
 pkgname=frei0r-plugins
 pkgver=1.7.0
 pkgrel=1
-pkgdesc="Minimalistic plugin API for video effects"
+pkgdesc='Minimalistic plugin API for video effects'
 arch=('x86_64')
-url="https://frei0r.dyne.org/"
-license=('GPL')
+url='https://frei0r.dyne.org/'
+license=('GPL2')
 depends=('cairo' 'gavl')
-makedepends=('cmake' 'doxygen') # opencv - not compatible with 4.0
+makedepends=('cmake' 'doxygen' 'ninja') # opencv - not compatible with 4.0
 #optdepends=('opencv: for facebl0r and facedetect plugins')
-source=(https://files.dyne.org/frei0r/$pkgname-$pkgver.tar.gz{,.asc})
+source=("https://files.dyne.org/frei0r/$pkgname-$pkgver.tar.gz"{,.asc})
 validpgpkeys=('6113D89CA825C5CEDD02C87273B35DA54ACB7D10') # Denis Roio (Jaromil)
 sha256sums=('1b1ff8f0f9bc23eed724e94e9a7c1d8f0244bfe33424bb4fe68e6460c088523a'
             'SKIP')
 
 build() {
-  mkdir -p build
-  cd build
-  cmake ../$pkgname-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr
-  make
+  cmake -S $pkgname-$pkgver -B build -G Ninja -DCMAKE_INSTALL_PREFIX='/usr'
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }



More information about the arch-commits mailing list