diff options
author | Florian Dejonckheere | 2013-05-29 13:47:13 +0200 |
---|---|---|
committer | Florian Dejonckheere | 2013-05-29 13:47:13 +0200 |
commit | 069f927e53d36991d125c819d89ee027612e10c2 (patch) | |
tree | c32875c503a6cda1bf3ac1937fedfafbf000b236 | |
download | aur-069f927e53d36991d125c819d89ee027612e10c2.tar.gz |
Added coverlovin fork with Thomas Funk patches
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..efe6fd071b90 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = coverlovin-funk + pkgdesc = CLI recursive directory album art downloader written in Python, Thomas Funk patches + pkgver = 2.0 + pkgrel = 1 + url = https://launchpad.net/coverlovin + arch = any + license = GPL3 + depends = python2 + depends = python2-simplejson + depends = mutagen + provides = coverlovin + conflicts = coverlovin + replaces = coverlovin + source = https://launchpadlibrarian.net/135960815/coverlovin.py + md5sums = 6a49c643142816a78069f72ae35ed565 + +pkgname = coverlovin-funk + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..414ad25f752d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Florian Dejonckheere <florian@floriandejonckheere.be> +# Contributor: Ray Griffin <rorgoroth@googlemail.com> + +# Based on the coverlovin PKGBUILD +pkgname=coverlovin-funk +_pkgname=coverlovin +pkgver=2.0 +pkgrel=1 +pkgdesc="CLI recursive directory album art downloader written in Python, Thomas Funk patches" +arch=('any') +url="https://launchpad.net/coverlovin" +license=('GPL3') +depends=('python2' 'python2-simplejson' 'mutagen') +provides=('coverlovin') +conflicts=('coverlovin') +replaces=('coverlovin') +source=("https://launchpadlibrarian.net/135960815/coverlovin.py") +md5sums=('6a49c643142816a78069f72ae35ed565') + +prepare(){ + cd ${srcdir} + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' ${_pkgname}.py +} + +package(){ + cd ${srcdir} + mkdir -p ${pkgdir}/usr/bin + install -Dm755 ${_pkgname}.py ${pkgdir}/usr/bin/${_pkgname} +} |