summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoroli2015-06-12 22:00:30 +0200
committeroli2015-06-12 22:00:30 +0200
commit74d4636bd1e5e649cfb491d5399d85617f62804e (patch)
tree8ce372fa03faf08728660a6ed0c7b63c7fed307e
downloadaur-flac2mp3-git.tar.gz
Initial import
-rw-r--r--.AURINFO19
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD24
3 files changed, 63 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..b6c835c6b02
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,19 @@
+pkgbase = flac2mp3-git
+ pkgdesc = a perl script to convert FLAC files to MP3 format
+ pkgver = r165.16da5f5
+ pkgrel = 2
+ url = https://github.com/robinbowes/flac2mp3
+ arch = any
+ license = GPL
+ depends = perl
+ depends = perl-data-dump
+ depends = perl-file-find-rule
+ depends = perl-audio-flac-header
+ depends = perl-file-which
+ depends = perl-mp3-tag
+ depends = perl-proc-parallelloop
+ depends = perl-parallel-forkmanager
+ source = flac2mp3-git::git://github.com/robinbowes/flac2mp3
+
+pkgname = flac2mp3-git
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..404d4338912
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = flac2mp3-git
+ pkgdesc = a perl script to convert FLAC files to MP3 format
+ pkgver = r165.16da5f5
+ pkgrel = 2
+ url = https://github.com/robinbowes/flac2mp3
+ arch = any
+ license = GPL
+ depends = perl
+ depends = perl-data-dump
+ depends = perl-file-find-rule
+ depends = perl-audio-flac-header
+ depends = perl-file-which
+ depends = perl-mp3-tag
+ depends = perl-proc-parallelloop
+ depends = perl-parallel-forkmanager
+ source = flac2mp3-git::git://github.com/robinbowes/flac2mp3
+ md5sums = SKIP
+
+pkgname = flac2mp3-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f63dd2b5184
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Jozef Riha <jose1711 at gmail dot com>
+
+pkgname=flac2mp3-git
+pkgver=r165.16da5f5
+pkgrel=2
+pkgdesc="a perl script to convert FLAC files to MP3 format"
+arch=('any')
+url="https://github.com/robinbowes/flac2mp3"
+license=('GPL')
+depends=('perl' 'perl-data-dump' 'perl-file-find-rule' 'perl-audio-flac-header' 'perl-file-which' 'perl-mp3-tag' 'perl-proc-parallelloop' 'perl-parallel-forkmanager')
+source=("${pkgname}"::'git://github.com/robinbowes/flac2mp3')
+md5sums=(SKIP)
+
+pkgver() {
+ cd "$srcdir/${pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ mkdir -p $pkgdir/usr/share/doc/flac2mp3
+ cd $srcdir/${pkgname}
+ install -Dm 755 ./flac2mp3.pl $pkgdir/usr/bin/flac2mp3.pl
+ install -Dm 644 ./*.txt $pkgdir/usr/share/doc/flac2mp3/
+}