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

Antonio Rojas arojas at archlinux.org
Mon Jun 8 06:45:17 UTC 2020


    Date: Monday, June 8, 2020 @ 06:45:16
  Author: arojas
Revision: 640305

Update to 0.6.12

Modified:
  strawberry/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-08 06:44:50 UTC (rev 640304)
+++ PKGBUILD	2020-06-08 06:45:16 UTC (rev 640305)
@@ -2,8 +2,8 @@
 # Contributor: Fabio 'Lolix' Loli <lolix at disroot.org> -> https://github.com/FabioLolix
 
 pkgname=strawberry
-pkgver=0.6.11
-pkgrel=2
+pkgver=0.6.12
+pkgrel=1
 pkgdesc="A music player aimed at audio enthusiasts and music collectors"
 arch=(x86_64)
 url="https://www.strawbs.org/"
@@ -14,21 +14,15 @@
             'gst-plugins-bad: additional codecs'
             'gst-plugins-ugly: additional codecs')
 source=("https://github.com/jonaski/strawberry/releases/download/$pkgver/$pkgname-$pkgver.tar.xz")
-sha256sums=('84b71b33b5f80b7e86682e49f15289c2c00ab89d47e3722f762dda0d6965a201')
+sha256sums=('c53207613508da507f0a9cb4b13e23532fe06b9aaf3200d44b5e4b84170aeb79')
 
-prepare() {
-  mkdir -p build
-}
-
 build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
+  cmake -B build -S $pkgname-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DUSE_SYSTEM_TAGLIB=ON
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }



More information about the arch-commits mailing list