summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMike Swanson2014-02-25 19:10:20 -0800
committerMike Swanson2014-02-25 19:10:20 -0800
commit6f0fb6b0d8f5ce3d57631c2f8812e6811841bcad (patch)
treeb8ca67fb40068f0b6e100dfccbd0cb71c96b2aec /PKGBUILD
downloadaur-6f0fb6b0d8f5ce3d57631c2f8812e6811841bcad.tar.gz
Add reflac. Self-promotion ftw.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b5f8b16d13e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}