diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -4,14 +4,14 @@ # Contributor: Artem Sereda <overmind88 at gmail dot com> pkgname=flacon -pkgver=9.4.0 +pkgver=9.5.1 pkgrel=1 pkgdesc="An Audio File Encoder. Extracts audio tracks from an audio CD image to separate tracks." arch=(x86_64 i686 aarch64) url="https://flacon.github.io/" license=(LGPL2.1) depends=(hicolor-icon-theme qt5-base uchardet taglib) -makedepends=(cmake icu qt5-tools) +makedepends=(git cmake icu qt5-tools) optdepends=('flac: For FLAC support' 'lame: For MP3 support' 'mac: For APE support' @@ -23,16 +23,16 @@ optdepends=('flac: For FLAC support' 'vorbisgain: For OGG Replay Gain support' 'wavpack: For WavPack support' ) -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/flacon/${pkgname}/archive/v${pkgver}.tar.gz") -sha256sums=('c26830e866023086d022f1a5ba01c13336693b0799ba1ed313359e553a99456a') +source=("git+https://github.com/flacon/flacon.git#tag=v${pkgver}") +sha256sums=('SKIP') prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/flacon" [[ -d build ]] || mkdir build } build() { - cd "${srcdir}/${pkgname}-${pkgver}/build" #-Wno-dev + cd "${srcdir}/flacon/build" #-Wno-dev cmake .. \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ @@ -41,11 +41,11 @@ build() { } check() { - cd "${srcdir}/${pkgname}-${pkgver}/build" + cd "${srcdir}/flacon/build" #ctest --output-on-failure } package() { - cd "${srcdir}/${pkgname}-${pkgver}/build" + cd "${srcdir}/flacon/build" make DESTDIR="${pkgdir}" install } |