mirror of
https://github.com/Pagwin-Fedora/ppi.git
synced 2025-07-17 22:15:42 +00:00
32 lines
718 B
Bash
32 lines
718 B
Bash
pkgname='ppi-git'
|
|
_name='ppi'
|
|
pkgver='1.1.2'
|
|
pkgrel='1'
|
|
pkgdesc="Pagwin's project initializer, a program which makes setting up project scaffolding easy"
|
|
# I could set this to any or all the archictectures but I can't easily test for those so change this if needed
|
|
arch=('x86_64')
|
|
url='https://github.com/Pagwin-Fedora/ppi'
|
|
|
|
license=('MIT')
|
|
|
|
depends=('glibc' 'openssl' 'zlib' 'libssh2' 'libgit2')
|
|
|
|
makedepends=('git' 'rust' 'libssh2' 'libgit2')
|
|
#
|
|
provides=('ppi')
|
|
|
|
conflicts=('ppi')
|
|
|
|
source=("git+$url")
|
|
|
|
b2sums=('SKIP')
|
|
|
|
build(){
|
|
cd $_name
|
|
cargo build --release
|
|
}
|
|
|
|
package(){
|
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_name/LICENSE"
|
|
install -Dm755 target/release/ppi "$pkgdir/usr/bin/ppi"
|
|
}
|