summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7ee1b31b9579ca81f9bc8cc3bf00b9b099d4e58d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
python_pkgname=tarsafe
pkgname=python-${python_pkgname}
pkgver=0.0.5
pkgrel=1
pkgdesc="A safe subclass of the TarFile class for interacting with tar files. Can be used as a direct drop-in replacement for safe usage of extractall()"
arch=(any)
url="https://github.com/beatsbears/tarsafe/"
license=(MIT)
makedepends=("python" "python-pip")
source=(git+https://github.com/beatsbears/tarsafe.git#branch=v${pkgver})
sha256sums=(SKIP)
build() {
  cd "$python_pkgname"
  python setup.py build
}
package() {
  cd "$python_pkgname"
  python setup.py install --root="$pkgdir" --optimize=1
}