diff --git a/PKGBUILD b/PKGBUILD index d69b114..e808df6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,3 +1,4 @@ +# Maintainer: Pagwin pkgname='ppi-git' _name='ppi' pkgver='1.1.2' @@ -5,14 +6,14 @@ 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' +url='https://github.com/Pagwin-Fedora/ppi' license=('MIT') -depends=('glibc' 'openssl' 'zlib' 'libssh2' 'libgit2') +depends=('glibc' 'openssl' 'zlib' 'gcc-libs') + +makedepends=('git' 'rust') -makedepends=('git' 'rust' 'libssh2' 'libgit2') -# provides=('ppi') conflicts=('ppi') @@ -27,6 +28,7 @@ build(){ } package(){ + cd $_name install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_name/LICENSE" install -Dm755 target/release/ppi "$pkgdir/usr/bin/ppi" } diff --git a/build.rs b/build.rs deleted file mode 100644 index b39c218..0000000 --- a/build.rs +++ /dev/null @@ -1,4 +0,0 @@ -pub fn main() { - println!("cargo:rustc-link-lib=git2"); - println!("cargo:rustc-link-lib=ssh2"); -}