blob: e9f79c96769ae61d68c4e9e8cd43030ebf468fed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Michael Riegert <michael at eowyn net>
# Contributor: Felix Golatofski <contact@xdfr.de>
# Contributor: Sibren Vasse <arch@sibrenvasse.nl>
# Contributor: Daniel M. Capella <polyzen@archlinux.info>
# Contributor: Morten Linderud <morten@linderud.pw>
pkgname=python-pycdlib-git
_name=pycdlib
pkgver=1.10.0.42.g2d41d2d
pkgrel=1
pkgdesc='Python library to read and write ISOs'
arch=('any')
url=https://github.com/clalancette/pycdlib
license=('LGPL2.1')
depends=('python')
makedepends=('python-setuptools' 'git')
source=("$_name::git+${url}.git")
sha512sums=('SKIP')
provides=('python-pycdlib')
conflicts=('python-pycdlib')
pkgver() {
cd "$_name"
git describe --long --tags | sed 's/v//g;s/-/./g'
}
build() {
cd "$_name"
python setup.py build
}
package() {
cd "$_name"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
|