diff options
author | Alexander F. Rødseth | 2019-03-27 10:18:16 +0100 |
---|---|---|
committer | Alexander F. Rødseth | 2019-03-27 10:18:16 +0100 |
commit | dc0d1658bf1eff5d2e6537fe8526ca9f7a778c3b (patch) | |
tree | eb13c44815db47f7edbcac40515355bdb83621d9 | |
download | aur-cddb-py.tar.gz |
Move from [community] to AUR in connection with the spring cleaning
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..36e9324a989e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +# Generated by mksrcinfo v8 +# Wed Mar 27 09:15:57 UTC 2019 +pkgbase = cddb-py + pkgdesc = CDDB-Server access from Python + pkgver = 1.4 + pkgrel = 8 + url = http://cddb-py.sourceforge.net + arch = x86_64 + license = GPL + depends = python2 + source = https://downloads.sourceforge.net/sourceforge/cddb-py/CDDB-1.4.tar.gz + sha512sums = 578ef74313cd164f28682ed7e8b26e7c4e7fbac972f7c3c2fecfe31e6bc2ea8dff0c79adf9b6fda77402f9855d809819f56c23e4ffa68404d8cde479a15f740a + +pkgname = cddb-py + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..955a16750e15 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: +# Contributor: Eric Bélanger <eric@archlinux.org> + +pkgname=cddb-py +pkgver=1.4 +pkgrel=8 +pkgdesc="CDDB-Server access from Python" +arch=('x86_64') +url="http://cddb-py.sourceforge.net" +license=('GPL') +depends=('python2') +source=(https://downloads.sourceforge.net/sourceforge/cddb-py/CDDB-${pkgver}.tar.gz) +sha512sums=('578ef74313cd164f28682ed7e8b26e7c4e7fbac972f7c3c2fecfe31e6bc2ea8dff0c79adf9b6fda77402f9855d809819f56c23e4ffa68404d8cde479a15f740a') + +package() { + cd CDDB-${pkgver} + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' CDDB.py DiscID.py + python2 setup.py install --root="${pkgdir}" --optimize=1 +} |