makedeb


flacon 10.0.0-1


An Audio File Encoder. Extracts audio tracks from an audio CD image to separate tracks.

Click here to go back to the commit logs for flacon.

Commit:


Hash: 6b7201b3f6fc6778400d4052a4e1c7454fea4d07

Message: Unswitched to Git

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 3c6f3e4..4a490ad 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ generated-by = makedeb-makepkg
 pkgbase = flacon
 	pkgdesc = An Audio File Encoder. Extracts audio tracks from an audio CD image to separate tracks.
 	pkgver = 8.3.0
-	pkgrel = 2
+	pkgrel = 3
 	url = https://flacon.github.io/
 	arch = i686
 	arch = x86_64
@@ -27,7 +27,7 @@ pkgbase = flacon
 	optdepends = vorbis-tools: For OGG support
 	optdepends = vorbisgain: For OGG Replay Gain support
 	optdepends = wavpack: For WavPack support
-	source = git+https://github.com/flacon/flacon.git#branch=master
-	sha256sums = SKIP
+	source = flacon-8.3.0.tar.gz::https://github.com/flacon/flacon/archive/v8.3.0.tar.gz
+	sha256sums = 3b58a973df8c70c1a7b879f6449c1dc3a7edb7494f4c2a8b132ae2a659187768
 
 pkgname = flacon
diff --git a/PKGBUILD b/PKGBUILD
index 4676d89..fb812b3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
 #
 pkgname="flacon"
 pkgver="8.3.0"
-pkgrel="2"
+pkgrel="3"
 pkgdesc="An Audio File Encoder. Extracts audio tracks from an audio CD image to separate tracks."
 arch=('i686' 'x86_64' 'aarch64')
 url="https://flacon.github.io/"
@@ -26,11 +26,11 @@ optdepends=('flac: For FLAC support'
             'wavpack: For WavPack support'
 )
 
-source=("git+https://github.com/flacon/flacon.git#branch=master")
-sha256sums=('SKIP')
+source=("${pkgname}-${pkgver}.tar.gz::${_url}/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('3b58a973df8c70c1a7b879f6449c1dc3a7edb7494f4c2a8b132ae2a659187768')
 
 build() {
-    cd "${srcdir}/${pkgname}"
+    cd "${srcdir}/${pkgname}-${pkgver}"
     mkdir -p build
 
     cd build
@@ -39,7 +39,7 @@ build() {
 }
 
 package() {
-    cd "${srcdir}/${pkgname}/build"
+    cd "${srcdir}/${pkgname}-${pkgver}/build"
     install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
     make DESTDIR="${pkgdir}" install
 }