summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 54326db9dda226db5e41bd24abca69d2976b8873 (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
# Contributor: Balló György <ballogyor+arch at gmail dot com>

pkgname=python-cacheman
pkgver=2.1.0
pkgrel=1
pkgdesc='Python interface for managing dependent caches'
arch=('any')
url='https://github.com/MSeal/py_cache_manager'
license=('BSD')
depends=('python-future' 'python-psutil' 'python-six')
makedepends=('python-setuptools')
source=("https://github.com/MSeal/py_cache_manager/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('bc266ebbcfa61adf1766c42b80ed998c124a202c7f4b91160eaf07990881182f')

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

package() {
  cd py_cache_manager-$pkgver 
  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}