You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
759 B
Bash
28 lines
759 B
Bash
2 years ago
|
# Maintainer: Matt C <mdc028[at]bucknell[dot]edu>
|
||
|
# Developer: axtlos <axtlos[at]salyut[dot]one>
|
||
|
# Developer: jnats <jnats[at]salyut[dot]one>
|
||
|
|
||
|
pkgname=amethyst
|
||
|
pkgver=3.0.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="Fast, efficient and lightweight AUR helper/pacman wrapper"
|
||
|
arch=('x86_64')
|
||
|
url="https://git.tar.black/crystal/ame"
|
||
|
license=('Nolicense')
|
||
|
source=("git+https://git.tar.black/crystal/ame")
|
||
|
sha256sums=('SKIP')
|
||
|
depends=('git' 'binutils' 'fakeroot')
|
||
|
makedepends=('cargo' 'make')
|
||
|
conflicts=('ame')
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}/ame
|
||
|
cargo build --release --all-features
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
mkdir -p $pkgdir/usr/bin
|
||
|
chmod +x ${srcdir}/ame/target/debug/{ame,apt,apt-get,dnf,eopkg,yum,zypper}
|
||
|
cp ${srcdir}/ame/{ame,apt,apt-get,dnf,eopkg,yum,zypper} $pkgdir/usr/bin/.
|
||
|
}
|