summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 54ed2505b01c6056099c415b223d1685317b17f5 (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
# Maintainer: Ray Xu <megrxu at gmail dot com>
pkgname=python-archiveis
_name=archiveis
pkgver=0.0.9
pkgrel=2
pkgdesc='A simple Python wrapper for the archive.is capturing service.'
arch=('any')
url="https://github.com/pastpages/archiveis"
license=('MIT')
depends=('python' 'python-click')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pastpages/archiveis/archive/v${pkgver}.tar.gz")
makedepends=('python-setuptools')
md5sums=('2e3c23c2fc2f5c68cfde7746e35397be')

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

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