summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9424767315c03f644ea21ce6b38d8f0566c127f0 (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
37
# Maintainer: linuxSEAT <--put_my_name_here--@gmail.com>

pkgname=python2-libewf-git
_pkgname=libewf
pkgver=20171104
pkgrel=2
pkgdesc="library to access the Expert Witness Compression Format (EWF)"
arch=('any')
url="https://github.com/libyal/libewf/"
license=('LGPL')
groups=()
depends=( 'python2')
makedepends=('python2-setuptools')
provides=('python2-libewf')
conflicts=('python2-libewf')
replaces=()
backup=()
options=(!emptydirs)
install=
source=("git+https://github.com/libyal/libewf.git")
md5sums=('SKIP')

build() {
  cd "$srcdir/$_pkgname"
  export PYTHON=python2

  ./synclibs.sh
  ./autogen.sh
  python2 setup.py build
}

package() {
  cd "$srcdir/$_pkgname"
  python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}

# vim:set ts=2 sw=2 et: