Created
June 30, 2020 03:10
-
-
Save dvtate/a4ce175f0446403c7250f8e6dab1b335 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Developer: qorg11 | |
# Maintainer: Dustin Testa <[email protected]> | |
pkgname=lainsafecli | |
pkgver=0.4.r0.g47312a4 # 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 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
based