summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d115d132cf326e49d83e75958a4b501ca17bc00c (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
pkgname=dsf2flac-git
pkgver=r29.b0cf5aa
pkgrel=1
pkgdesc="Tool for converting DSF to FLAC files."
arch=('i686' 'x86_64')
url="https://github.com/hank/dsf2flac"
license=('GPL')
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)"
}

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

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