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: 528def83208d0633afa21663b5b87238087cba96

Message: Switched to Git

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 35ebbe6..3c6f3e4 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 = 1
+	pkgrel = 2
 	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#branch=master
+	sha256sums = SKIP
 
 pkgname = flacon
diff --git a/PKGBUILD b/PKGBUILD
index 629a931..4676d89 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,12 @@
 # Maintainer: hiddeninthesand <hiddeninthesand at pm dot me>
-# 
+#
 # AUR Maintainer: ValHue <vhuelamo at gmail dot com>
 # AUR Contributor: satanselbow <igdfpm at gmail dot com>
 # AUR Contributor: Artem Sereda <overmind88 at gmail dot com>
 #
 pkgname="flacon"
 pkgver="8.3.0"
-pkgrel="1"
+pkgrel="2"
 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,20 +26,20 @@ 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+https://github.com/flacon/flacon.git#branch=master")
+sha256sums=('SKIP')
 
 build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
+    cd "${srcdir}/${pkgname}"
     mkdir -p build
 
     cd build
     cmake .. -DCMAKE_INSTALL_PREFIX=/usr
-    make
+    make -j$(nproc)
 }
 
 package() {
-    cd "${srcdir}/${pkgname}-${pkgver}/build"
+    cd "${srcdir}/${pkgname}/build"
     install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
     make DESTDIR="${pkgdir}" install
 }