diff options
author | Fabian Hafner | 2018-07-01 19:08:11 +0200 |
---|---|---|
committer | Fabian Hafner | 2018-07-01 19:08:11 +0200 |
commit | a1261682807533b1472388f19e1a244e2afbb21f (patch) | |
tree | 0f8f66d7ff4adc222c63e346c318897ecf495c06 /PKGBUILD | |
download | aur-a1261682807533b1472388f19e1a244e2afbb21f.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a1a308563889 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: coldbug <coldBug@e.mail.de> +pkgname=dr14_t.meter-git +pkgver=v1.0.15.r162.g7516e5c +pkgrel=1 +pkgdesc="DR14 T.meter is a command line tool for computing the Dynamic Range of your music" +arch=(any) +url="https://github.com/simon-r/dr14_t.meter" +license=('GPL3') +depends=('python' 'flac' 'lame' 'faad2' 'ffmpeg' 'vorbis-tools' 'python-numpy') +optdepends=('python-matplotlib: plot support for python' 'python-scipy: dyn compression') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}" "dr14_tmeter") +source=('dr14_t.meter::git+https://github.com/simon-r/dr14_t.meter.git#branch=master') +noextract=() +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-git}" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "$srcdir/${pkgname%-git}" + python setup.py build +} + +package() { + cd "$srcdir/${pkgname%-git}" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build +} |