summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e017e1446c01a9fdd9575b7e90feb3d0050dccda (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
# Maintainer: Mike Swanson <mikeonthecomputer@gmail.com>

pkgname=reflac
pkgver=2.0.1
pkgrel=1
pkgdesc="Recompresses FLAC files while preserving tags"
arch=('any')
url="https://github.com/chungy/reflac"
depends=('flac')
makedepends=('asciidoc')
license=('ISC')
source=("$url"/archive/"$pkgver".tar.gz)
b2sums=('74696d39142887729b4e7e1235f6e84e871c9d17c6c75af93452edb4fcb81696dc8e7ed41579d404595b3faa871c64995ee4c8999f70df97643f2ac73b24b20a')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make prefix=/usr DESTDIR="$pkgdir" install
  install -Dm 644 COPYING "$pkgdir"/usr/share/licenses/reflac/COPYING
}