blob: f720fed01eb5493bdd075fb448350460140093d3 (
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: Naomi Phillips <naoph@cryptolab.net>
pkgname=upl-git
_pkgname=upl
pkgver=0.1.1.r0.g72dd077
pkgrel=1
epoch=1
pkgdesc="A tiny script for uploading files to webservers over SSH"
arch=('any')
url="https://github.com/naoph/upl"
license=('GPL')
provides=($_pkgname)
conflicts=($_pkgname)
depends=('python' 'python-yaml' 'openssh')
makedepends=('git')
source=("$pkgname::git+https://github.com/naoph/upl.git")
md5sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags --long | sed -r -e 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,[-_],.,g'
}
package() {
cd $pkgname
install -Dm755 "upl.py" "$pkgdir/usr/bin/upl"
}
|