blob: c48b59f37d4b1ac01af8f99ab857ffd6a1c4a6a6 (
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
27
28
29
30
|
# Maintainer: Dustin Testa <toast27@gmail.com>
# Developer: qorg11 <github.com/qorg11>
pkgname=lainsafecli
pkgver=0.4.r2.gc01d7cd # updated by pkgver()
pkgrel=1
pkgdesc="CLI interface for lainsafe"
arch=('any')
url='https://github.com/qorg11/lainsafe'
license=('GPL')
makedepends=('git')
depends=('perl' 'perl-lwp-protocol-https' 'perl-crypt-ssleay' 'perl-libwww')
md5sums=('SKIP')
provides=('lainsafecli')
source=("$pkgname::git+https://github.com/qorg11/lainsafe")
pkgver() {
cd $pkgname
git describe --tags --long | sed -r -e 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,[-_],.,g'
}
package() {
cd $pkgname
mkdir $pkgdir/usr/
mkdir $pkgdir/usr/bin/
install -D -m755 lainsafecli $pkgdir/usr/bin/lainsafecli
install -D -m644 COPYING $pkgdir/usr/share/licenses/${pkgname}/LICENSE
}
|