diff options
author | Amos Onn | 2017-08-15 23:08:00 +0200 |
---|---|---|
committer | Amos Onn | 2017-08-15 23:08:00 +0200 |
commit | 3d7a7593b81f6a59a84bb70559d2dc467057ac39 (patch) | |
tree | e155ab67335953b8a947d867133bb953450eb0dd | |
download | aur-3d7a7593b81f6a59a84bb70559d2dc467057ac39.tar.gz |
First commit.
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..748f64a217f7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Tue Aug 15 21:07:08 UTC 2017 +pkgbase = python-pycdio-git + pkgdesc = Python OO interface to libcdio (CD Input and Control library) + pkgver = r169.05376be + pkgrel = 1 + url = http://pypi.python.org/pypi/pycdio/ + arch = any + license = GPL-v3 + depends = python + depends = libcdio + provides = python-pycdio + replaces = python-pycdio + source = git+https://git.savannah.gnu.org/git/libcdio/pycdio.git + md5sums = SKIP + +pkgname = python-pycdio-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7872982d6a94 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Amos Onn <amosonn at gmail dot com> +pkgname=python-pycdio-git +_pkgname=pycdio +pkgver=r169.05376be +pkgrel=1 +pkgdesc='Python OO interface to libcdio (CD Input and Control library)' +arch=('any') +url='http://pypi.python.org/pypi/pycdio/' +license=('GPL-v3') +depends=('python' 'libcdio') +provides=('python-pycdio') +replaces=('python-pycdio') +source=("git+https://git.savannah.gnu.org/git/libcdio/${_pkgname}.git") +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd $srcdir/${_pkgname} + python setup.py install --root=$pkgdir || return 1 + install -d $pkgdir/usr/share/licenses/$pkgname + install COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING +} |