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

Antonio Rojas arojas at archlinux.org
Sun Jun 20 20:40:16 UTC 2021


    Date: Sunday, June 20, 2021 @ 20:40:15
  Author: arojas
Revision: 966073

Replace tag with commit hash, upstream archived the project and removed all tags

Modified:
  hyperion/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-20 20:39:57 UTC (rev 966072)
+++ PKGBUILD	2021-06-20 20:40:15 UTC (rev 966073)
@@ -5,6 +5,7 @@
 pkgname=hyperion
 pkgver=1.03.2
 pkgrel=24
+_commit=d3713a8ea9116c92f0a219b7114f1a8709462979
 pkgdesc="An opensource 'AmbiLight' implementation"
 arch=('x86_64')
 url="https://github.com/hyperion-project/hyperion"
@@ -14,12 +15,12 @@
 makedepends=('cmake')
 backup=('etc/hyperion/hyperion.config.json')
 install='hyperion.install'
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tvdzwan/${pkgname}/archive/${pkgver}.tar.gz"
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/hyperion-project/hyperion/archive/$_commit.tar.gz"
         "0001-Fix-no-decleration-of-assert-with-GCC-7.2.patch"
         "hyperion.sysusers"
         "hyperiond.service"
         "hyperion.install")
-sha512sums=('7406f5bdf323d2799fb375557603fefd1f077cda287b5aa9ff10251b22d8dd07590458515b0e01ef97fba80885aab1aa72bd8b5d26873ad8ebcc1ba53d6776ec'
+sha512sums=('9f0a6392d54132c82c4f62aa72fb1cee6995ecd72d49c77544e2e771391a414ba74f2bfbe68effc75c1c8b10f2b1241064581c81a1af57041c682fe4ce110430'
             '11c51f6085d78bb75a7d73372262eedc2dab84b9d37ee1850f6b8d8c9cfe85d72a69b7d755e169028c6f7150f09201ded7d32a4edf15130ca2a12a188fe5945c'
             '80764d3abdfb7e6e7f65913e9c89dd61b425ffb80e9ab4f9df7739abe32117441095ac7b45792acd5d2a516cf4aca3e21062b119f5790aae3b178036db74ce61'
             'f8c23ba920ce683e731237c164f4f70f94d635398be5cc43ce1af48bb8ab672da47397979a825a5761dacb1ae18a1c5fc840b168c8f1e3ae411908e0e92a0c5b'
@@ -26,12 +27,12 @@
             'ff5ed8ed647a621b73e922590616e4f5d63f0a7e243aa3de0f8382a835e83166a0e04944396a61a03645cc00853251690a514b3772f163f445240e4f55f18fb5')
 
 prepare() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
+    cd "${srcdir}/${pkgname}-${_commit}"
     patch -Np1 -i "${srcdir}/0001-Fix-no-decleration-of-assert-with-GCC-7.2.patch"
 }
 
 build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
+    cd "${srcdir}/${pkgname}-${_commit}"
     mkdir -p build
     cd build
     cmake -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" \
@@ -45,7 +46,7 @@
 }
 
 package() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
+    cd "${srcdir}/${pkgname}-${_commit}"
     cd build
     make install
     cd ..



More information about the arch-commits mailing list