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

Jan Steffens heftig at archlinux.org
Fri Apr 19 20:58:08 UTC 2019


    Date: Friday, April 19, 2019 @ 20:58:07
  Author: heftig
Revision: 452062

0.5.3-2

Modified:
  strawberry/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-19 20:58:03 UTC (rev 452061)
+++ PKGBUILD	2019-04-19 20:58:07 UTC (rev 452062)
@@ -3,7 +3,7 @@
 
 pkgname=strawberry
 pkgver=0.5.3
-pkgrel=1
+pkgrel=2
 pkgdesc="A music player aimed at audio enthusiasts and music collectors"
 arch=(x86_64)
 url="http://www.strawbs.org/"
@@ -17,19 +17,17 @@
 sha256sums=('4cd57ff73ad0ec047ea8b7901e749de7722ab3d5a9be35f4bf1ef5af1cc5bdd5')
 
 prepare() {
-  mkdir -p build
+  cd $pkgname-$pkgver
 }
 
 build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
+  cmake -H$pkgname-$pkgver -Bbuild \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DUSE_SYSTEM_TAGLIB=ON \
     -DENABLE_DEEZER=OFF
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --build build --target install
 }


More information about the arch-commits mailing list