summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a1373bcacb5aa4743411f5e397744fbae00b3dc3 (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
pkgbase=('curlbomb')
pkgname=('curlbomb')
_module='curlbomb'
pkgver='1.0.16'
pkgrel=0
pkgdesc="A personal HTTP server for serving one-time-use shell scripts"
url="https://github.com/EnigmaCurry/curlbomb"
depends=('python')
optdepends=('openssh: SSH tunnel support',
            'gnupg: Encrypted SSL certificate support')
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("https://github.com/EnigmaCurry/curlbomb/archive/${pkgver}.tar.gz")
sha256sums=('c851783556ace2c625010fd34850f0d20f69f9382640def3ef5ec79d701d3b7f')

package() {
    depends+=()
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}"

    mkdir -p ${pkgdir}/usr/share/man/man1/
    install curlbomb.1 ${pkgdir}/usr/share/man/man1/
}