summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b5f8b16d13ea5c2031cb6d98b0dbfb71fc0f2209 (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=0.1
pkgrel=1
pkgdesc="Recompresses FLAC files while preserving tags"
arch=('any')
url="https://github.com/chungy/reflac"
depends=('sh')
makedepends=('asciidoc')
license=('ISC')
source=(https://github.com/chungy/reflac/archive/0.1.tar.gz)
sha256sums=(2f8db60d5dcd13e6c3868f96e0058edcb0dc1293b2fd97bb7996737e1cdd4526)

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
}