26 lines
491 B
Bash
26 lines
491 B
Bash
# Maintainer: Tola Mironcenko <mironcenkotola@gmail.com>
|
|
pkgname=pwdgen-git
|
|
_pkgname="${pkgname%-git}"
|
|
_reponame=pwdgen
|
|
pkgver=1.0
|
|
pkgrel=1
|
|
pkgdesc="Password generator"
|
|
arch=('x86_64')
|
|
url="https://gitea.home.com:3000/TolaMironcenko/pwdgen"
|
|
conflicts=("$_pkgname")
|
|
license=('GPL')
|
|
source=("git+$url.git")
|
|
cksums=('SKIP')
|
|
|
|
build() {
|
|
cd $_reponame
|
|
make clean
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $_reponame
|
|
mkdir -p $pkgdir/usr/local/bin
|
|
make DESTDIR="$pkgdir/usr/local/bin/" install
|
|
}
|