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

Antonio Rojas arojas at archlinux.org
Wed Dec 20 19:01:46 UTC 2017


    Date: Wednesday, December 20, 2017 @ 19:01:45
  Author: arojas
Revision: 275057

Update to a KF5 snapshot

Modified:
  kaudiocreator/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-20 19:00:36 UTC (rev 275056)
+++ PKGBUILD	2017-12-20 19:01:45 UTC (rev 275057)
@@ -4,31 +4,36 @@
 # Contributor: Nick B <Shirakawasuna at gmail _dot_com>
 
 pkgname=kaudiocreator
-pkgver=1.3
-pkgrel=9
+pkgver=3.92.0+295+ge64e16a
+pkgrel=1
 pkgdesc="A program for ripping and encoding Audio-CDs, encoding files from disk"
 arch=('x86_64')
-url="http://www.kde-apps.org/content/show.php/KAudioCreator?content=107645"
+url="https://www.kde.org/applications/multimedia/kaudiocreator/"
 license=('GPL')
-depends=('kdebase-runtime' 'taglib' 'libdiscid' 'audiocd-kio4')
-makedepends=('cmake' 'automoc4')
-source=("https://dl.opendesktop.org/api/files/download/id/1466629608/107645-kaudiocreator-$pkgver.tar.bz2")
-md5sums=('6adce848d3cdc9d80a52d35144890c86')
+depends=('audiocd-kio' 'taglib' 'libdiscid' 'kcmutils' 'knotifyconfig' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'git' 'kdesignerplugin' 'kdoctools')
+_commit=e64e16a745417f76455c3c63e2d3a05857a8e52e  # master
+source=("git://git.kde.org/kaudiocreator.git#commit=$_commit")
+md5sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed -e 's/-/+/g' -e 's/v//'
+}
+
 build() {
-  cd ${srcdir}
-
   mkdir build
   cd build
 
-  cmake ../${pkgname}-${pkgver} \
+  cmake ../${pkgname} \
     -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_TESTING=OFF
   make
 }
 
 package() {
-  cd ${srcdir}/build
+  cd build
 
   make DESTDIR=${pkgdir} install
 }



More information about the arch-commits mailing list