summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 71b176c339b180f8ed6a9db041a86cd13a4dcd6b (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
38
39
40
41
42
43
44
# Maintainer: codingTornado <milopezv at gmail dot com>

pkgname=python-imagemounter
pkgver=3.1.0
pkgrel=2
pkgdesc="CLI utility and Python package for (un)mounting forensic disk images."
arch=(any)
url="https://github.com/ralphje/imagemounter"
license=(MIT)
depends=('python' 'python-termcolor')
optdepends=('afflib: mounting AFF disk images'
		'avfs: mounting avfs disk images'
		'cryptsetup: mounting encripted volumes'
		'disktype: detecting content format of disk images'
		'file'
		'libbde: mounting BDE volumes'
		'libvshadow-git: mounting Volume Shadow Snapshot volumes'
		'lvm2: mounting LVM volumes'
		'mdadm: mounting Software RAID volumes'
		'mtd-utils: mounting JFFS2 volumes'
		'ntfs-3g: mounting NTFS volumes'
		'parted: detecting volumes and its types'
		'python-magic: filetype detection'
		'qemu: mounting Qcow2 disk images'
		'sleuthkit: covers various tasks'
		'squashfs-tools: mounting SquashFS volumes'
		'testdisk: carving images for deleted files'
		'util-linux: locating/printing block device attributes'
		'vmfs-tools: mounting VMFS volumes'
		'vmware-workstation: mounting VMWare disk images'
		'xfsprogs: mounting XFS volumes'
		'xmount: mounting several types of disk images')
source=('https://files.pythonhosted.org/packages/c5/cb/79fbf7130aa46315d3525f8780ee7961474bfd25ff965cc4285b64f37c7a/imagemounter-3.1.0.tar.gz')
sha256sums=(d2305fdf6424c0976132546e42c039182e74670b0e404ff40368a42861c3e213)

build() {
  cd "$srcdir"/imagemounter-$pkgver
  python setup.py build
}

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