From 0a8ab40129db992bb68faeecc572452b5a7922a4 Mon Sep 17 00:00:00 2001 From: ripytide Date: Sun, 27 Oct 2024 07:42:39 +0000 Subject: [PATCH] build: remove pkgbuilds into a their own repos --- metapac-bin/PKGBUILD | 18 ------------------ metapac/PKGBUILD | 44 -------------------------------------------- 2 files changed, 62 deletions(-) delete mode 100644 metapac-bin/PKGBUILD delete mode 100644 metapac/PKGBUILD diff --git a/metapac-bin/PKGBUILD b/metapac-bin/PKGBUILD deleted file mode 100644 index 2586e97..0000000 --- a/metapac-bin/PKGBUILD +++ /dev/null @@ -1,18 +0,0 @@ -# Maintainer: James Forster - -pkgname=metapac-bin -pkgver=0.2.0 -pkgrel=1 -pkgdesc="multi-backend declarative package manager" -url="https://github.com/ripytide/metapac" -license=("GPL-3.0-or-later") -arch=("x86_64") -provides=("metapac") -conflicts=("metapac") -source=("https://github.com/ripytide/metapac/releases/download/v$pkgver/metapac-x86_64-unknown-linux-gnu.tar.xz") -options=(!debug !lto) -sha256sums=('2f47cd4d48ccbf3115ec17ce671635a290d16552d7e4c1408a3b675b8faf9dbe') - -package() { - install -Dm755 metapac-x86_64-unknown-linux-gnu/metapac -t "$pkgdir/usr/bin" -} diff --git a/metapac/PKGBUILD b/metapac/PKGBUILD deleted file mode 100644 index 91dfb82..0000000 --- a/metapac/PKGBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Maintainer: James Forster - -pkgname=metapac -pkgver=0.2.0 -pkgrel=1 -pkgdesc="multi-backend declarative package manager" -url="https://github.com/ripytide/$pkgname" -license=("GPL-3.0-or-later") -arch=("x86_64") -provides=("metapac") -conflicts=("metapac") -makedepends=('cargo') -arch=('i686' 'x86_64' 'armv6h' 'armv7h') -source=("$pkgname-$pkgver.tar.gz::https://static.crates.io/crates/$pkgname/$pkgname-$pkgver.crate") -options=(!debug !lto) -sha256sums=('0d6dc59705228bcb1a6014eb8faeae5c0a043522196ce598f17e75c76daa7edf') - -prepare() { - cd "$pkgname-$pkgver" - - export RUSTUP_TOOLCHAIN=stable - cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" -} - -build() { - cd "$pkgname-$pkgver" - - export RUSTUP_TOOLCHAIN=stable - export CARGO_TARGET_DIR=target - cargo build --frozen --release --all-features -} - -check() { - cd "$pkgname-$pkgver" - - export RUSTUP_TOOLCHAIN=stable - cargo test --frozen --all-features -} - -package() { - cd "$pkgname-$pkgver" - - install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname" -}