summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ecdccbda7061c4366f090351a54624b6c2e9f6ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: David Barchiesi <david@barchie.si>

pkgname=python-filesplitter
pkgver=2.0
pkgrel=1
pkgdesc="File splitter is a tool that split large file into multiple small file"
arch=('any')
url="https://github.com/asrmarco13/the-file-splitter"
license=('GPLv3')
makedepends=('python-setuptools')
_name="FileSplitter"
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
md5sums=('1ab81f811823c8f85a3cecdd94ebd22f')

build() {
    cd $_name-$pkgver
    python setup.py build
}

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