git » amarok.git » commit 15f4d59

Removing unused validpgpkeys() because source is being retrieved from github (while new version is released).

author frealgagu
2018-12-17 22:30:27 UTC
committer frealgagu
2018-12-17 22:30:27 UTC
parent fe295c489109c65b8ee3a700b050decfdf3eb14b

Removing unused validpgpkeys() because source is being retrieved from github (while new version is released).

.SRCINFO +3 -4
.gitignore +2 -1
PKGBUILD +11 -11

diff --git a/.SRCINFO b/.SRCINFO
index 1c86bc7..a486b21 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = amarok
 	pkgdesc = The powerful music player for KDE
-	pkgver = 2.9.0.r271.82018b9fcf
+	pkgver = 2.9.0.r274.641b794b5b
 	pkgrel = 1
 	url = http://amarok.kde.org/
 	arch = x86_64
@@ -33,9 +33,8 @@ pkgbase = amarok
 	depends = threadweaver
 	optdepends = ifuse: support for Apple iPod Touch and iPhone
 	optdepends = loudmouth: backend needed by mp3tunes for syncing
-	source = git://git.kde.org/amarok.git#commit=3be247f8a178b3656d470e9f7bbc8a208e9bf547
-	validpgpkeys = D81C0CB38EB725EF6691C385BB463350D6EF31EF
-	sha256sums = SKIP
+	source = amarok-2.9.0.r274.641b794b5b.tar.gz::https://github.com/KDE/amarok/archive/641b794b5b97cbb1751d1ad8228f41c559b159f5.tar.gz
+	sha256sums = 606b0e9cc4af758e63b4687e660d2ec394d53776213de1cff952a0c7ae8290ae
 
 pkgname = amarok
 
diff --git a/.gitignore b/.gitignore
index 6a14ee3..14909c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
-amarok-*.tar.xz
+amarok-*.pkg.tar.xz
+amarok-*.tar.gz
 amarok-*.log
 PKGBUILD-namcap.log
 amarok/
diff --git a/PKGBUILD b/PKGBUILD
index 4255d87..7d5b047 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,30 +5,30 @@
 # Contributor: damir <damir@archlinux.org>
 
 pkgname=amarok
-pkgver=2.9.0.r271.82018b9fcf
+pkgver=2.9.0.r274.641b794b5b
 pkgrel=1
 pkgdesc="The powerful music player for KDE"
 arch=("x86_64")
-url="http://amarok.kde.org/"
+url="http://${pkgname}.kde.org/"
 license=("FDL" "GPL2" "LGPL2.1")
 depends=("kcmutils" "kdnssd" "kirigami2" "knewstuff" "ktexteditor" "libgpod" "liblastfm-qt5" "libmtp" "libmygpo-qt5" "libofa" "libssh-gnutls" "mariadb" "phonon-qt5" "qt5-webengine" "taglib-extras" "threadweaver")
 makedepends=("extra-cmake-modules" "gdk-pixbuf2" "git" "knotifyconfig" "libgpod" "libmtp" "libmygpo-qt5" "loudmouth")
 optdepends=("ifuse: support for Apple iPod Touch and iPhone"
             "loudmouth: backend needed by mp3tunes for syncing")
-_commit=3be247f8a178b3656d470e9f7bbc8a208e9bf547
-#source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz"{,.sig})
-source=("git://git.kde.org/amarok.git#commit=$_commit")
+_commit="641b794b5b97cbb1751d1ad8228f41c559b159f5"
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/KDE/${pkgname}/archive/${_commit}.tar.gz")
+sha256sums=("606b0e9cc4af758e63b4687e660d2ec394d53776213de1cff952a0c7ae8290ae")
 
-sha256sums=("SKIP")
-validpgpkeys=("D81C0CB38EB725EF6691C385BB463350D6EF31EF") # Heiko Becker <heirecka@exherbo.org>
+#source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz"{,.sig})
+#validpgpkeys=("D81C0CB38EB725EF6691C385BB463350D6EF31EF") # Heiko Becker <heirecka@exherbo.org>
 
 prepare() {
-  mkdir -p "${srcdir}/${pkgname}/build"
+  mkdir -p "${srcdir}/${pkgname}-${_commit}/build"
 }
 
 build() {
-  cd "${srcdir}/${pkgname}/build"
-  cmake .. \
+  cd "${srcdir}/${pkgname}-${_commit}/build"
+  cmake "${srcdir}/${pkgname}-${_commit}" \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_LIBDIR=lib \
     -DBUILD_TESTING=OFF
@@ -36,6 +36,6 @@ build() {
 }
 
 package() {
-  cd "${srcdir}/${pkgname}/build"
+  cd "${srcdir}/${pkgname}-${_commit}/build"
   make DESTDIR="${pkgdir}" install
 }