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: 69b2da4578f233152c2808e4d0d1d2d44b0200ce

Message: Reswitched to Git

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 4a490ad..7351b2a 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 = 3
+	pkgrel = 4
 	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 = flacon-8.3.0.tar.gz::https://github.com/flacon/flacon/archive/v8.3.0.tar.gz
-	sha256sums = 3b58a973df8c70c1a7b879f6449c1dc3a7edb7494f4c2a8b132ae2a659187768
+	source = git+https://github.com/flacon/flacon.git#tag=v8.3.0
+	sha256sums = SKIP
 
 pkgname = flacon
diff --git a/PKGBUILD b/PKGBUILD
index fb812b3..364686d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,12 +5,13 @@
 # AUR Contributor: Artem Sereda <overmind88 at gmail dot com>
 #
 pkgname="flacon"
+_gitname="flacon"
 pkgver="8.3.0"
-pkgrel="3"
+pkgrel="4"
 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/"
-_url="https://github.com/${pkgname}"
+_url="https://github.com/${_gitname}"
 license=('LGPL2.1')
 makedepends=('cmake' 'icu-devtools' 'qtbase5-dev-tools')
 depends=('hicolor-icon-theme' 'qtbase5-dev' 'libuchardet-dev' 'ffmpeg' 'libtag1-dev')
@@ -26,11 +27,12 @@ optdepends=('flac: For FLAC support'
             'wavpack: For WavPack support'
 )
 
-source=("${pkgname}-${pkgver}.tar.gz::${_url}/${pkgname}/archive/v${pkgver}.tar.gz")
-sha256sums=('3b58a973df8c70c1a7b879f6449c1dc3a7edb7494f4c2a8b132ae2a659187768')
+source=("git+${_url}/flacon.git#tag=v${pkgver}")
+sha256sums=('SKIP')
+
 
 build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
+    cd "${srcdir}/${_gitname}"
     mkdir -p build
 
     cd build
@@ -39,8 +41,8 @@ build() {
 }
 
 package() {
-    cd "${srcdir}/${pkgname}-${pkgver}/build"
-    install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    cd "${srcdir}/${_gitname}/build"
+    install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${_gitname}/LICENSE"
     make DESTDIR="${pkgdir}" install
 }