summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ceed1762bafc2d99abaff45e410330310c86632a (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
# Maintainer: Adrien Wu <adrien.sf.wu@gmail.com>
pkgname=python-pyquota
pkgver=0.0.3
pkgrel=3
pkgdesc="A simple python wrapper for C apis of quotactl"
url="https://github.com/tjumyk/pyquota"
arch=('any')
provides=('python-pyquota')
depends=('python')
makedepends=('python-setuptools')
_name="${pkgname#python-}"
_Name="PyQuota"
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_Name-$pkgver.tar.gz")
sha256sums=('cc45e0ef02100356b8d05d68ea5fdad93cd7ce99020fdc8c547945432a1409b7')

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

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