mirror of
https://github.com/Pagwin-Fedora/ppi.git
synced 2025-07-17 22:15:42 +00:00
Finished PKGBUILD
This commit is contained in:
parent
4e288efbf6
commit
e0e10be15c
2 changed files with 6 additions and 8 deletions
10
PKGBUILD
10
PKGBUILD
|
@ -1,3 +1,4 @@
|
||||||
|
# Maintainer: Pagwin <spam@pagwin.xyz>
|
||||||
pkgname='ppi-git'
|
pkgname='ppi-git'
|
||||||
_name='ppi'
|
_name='ppi'
|
||||||
pkgver='1.1.2'
|
pkgver='1.1.2'
|
||||||
|
@ -5,14 +6,14 @@ pkgrel='1'
|
||||||
pkgdesc="Pagwin's project initializer, a program which makes setting up project scaffolding easy"
|
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
|
# 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')
|
arch=('x86_64')
|
||||||
url='https://github.com/Pagwin-Fedora/ppi'
|
|
||||||
|
|
||||||
|
url='https://github.com/Pagwin-Fedora/ppi'
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
|
|
||||||
depends=('glibc' 'openssl' 'zlib' 'libssh2' 'libgit2')
|
depends=('glibc' 'openssl' 'zlib' 'gcc-libs')
|
||||||
|
|
||||||
|
makedepends=('git' 'rust')
|
||||||
|
|
||||||
makedepends=('git' 'rust' 'libssh2' 'libgit2')
|
|
||||||
#
|
|
||||||
provides=('ppi')
|
provides=('ppi')
|
||||||
|
|
||||||
conflicts=('ppi')
|
conflicts=('ppi')
|
||||||
|
@ -27,6 +28,7 @@ build(){
|
||||||
}
|
}
|
||||||
|
|
||||||
package(){
|
package(){
|
||||||
|
cd $_name
|
||||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_name/LICENSE"
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_name/LICENSE"
|
||||||
install -Dm755 target/release/ppi "$pkgdir/usr/bin/ppi"
|
install -Dm755 target/release/ppi "$pkgdir/usr/bin/ppi"
|
||||||
}
|
}
|
||||||
|
|
4
build.rs
4
build.rs
|
@ -1,4 +0,0 @@
|
||||||
pub fn main() {
|
|
||||||
println!("cargo:rustc-link-lib=git2");
|
|
||||||
println!("cargo:rustc-link-lib=ssh2");
|
|
||||||
}
|
|
Loading…
Reference in a new issue