summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5e55303f48c9e90ff8840d910dd5a669da0a6fed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Eduardo Sánchez Muñoz

pkgname=dsf2flac-git
pkgver=r31.6b109cd
pkgrel=1
pkgdesc="Tool for converting DSF to FLAC files."
arch=(x86_64 i686 pentium4 arm armv6h armv7h aarch64)
url="https://github.com/hank/dsf2flac"
license=(GPL2)
depends=(flac boost-libs taglib id3lib)
makedepends=(git boost cmake)
source=("git+https://github.com/hank/dsf2flac.git")
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir/dsf2flac"
    echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

prepare() {
    cd "$srcdir/dsf2flac"
    ./autogen.sh
}

build() {
    cd "$srcdir/dsf2flac"
    ./configure --prefix=/usr
    make
}

package() {
    cd "$srcdir/dsf2flac"
    make install DESTDIR="$pkgdir"
}